diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/font-display/font-display-preload-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-fonts/font-display/font-display-preload-ref.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/font-display/font-display-preload-ref.html b/testing/web-platform/tests/css/css-fonts/font-display/font-display-preload-ref.html new file mode 100644 index 0000000000..e3ba8caa32 --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/font-display/font-display-preload-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> +<title>font-display should work for preloaded fonts</title> +<style> + .arial { + height: 20px; + font-family: Arial; + } +</style> +<div id="container"> + <div class="arial"></div> + <div class="arial"></div> + <div class="arial">Swap</div> + <div class="arial">Fallback</div> + <div class="arial">Optional</div> +</div> +</html> |