diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/rex-in-monospace-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-fonts/rex-in-monospace-ref.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/rex-in-monospace-ref.html b/testing/web-platform/tests/css/css-fonts/rex-in-monospace-ref.html new file mode 100644 index 0000000000..27972869e6 --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/rex-in-monospace-ref.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> + +<style> + @font-face { + font-family: ExTest; + src: url(../css-values/resources/ExTest.woff); + } + :root { + font-family: ExTest; + font-size: 20px; + } +</style> + +<p style="font-family: sans-serif">The following two lines should look exactly the same.</p> + +<div style="font-size: 1ex;"> + <div style="font-family: sans-serif;"> + Text. + </div> + + <div style="font-family: sans-serif;"> + Text. + </div> +</div> |