diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/basic.list | 1 | ||||
-rw-r--r-- | tests/ref/line_height_float_placement_a.html | 2 | ||||
-rw-r--r-- | tests/ref/per_glyph_font_fallback_a.html | 24 | ||||
-rw-r--r-- | tests/ref/per_glyph_font_fallback_ref.html | 28 | ||||
-rw-r--r-- | tests/ref/text_align_complex_a.html | 2 | ||||
-rw-r--r-- | tests/ref/text_align_complex_ref.html | 2 |
6 files changed, 56 insertions, 3 deletions
diff --git a/tests/ref/basic.list b/tests/ref/basic.list index d10cc1af2b4..4c3679508da 100644 --- a/tests/ref/basic.list +++ b/tests/ref/basic.list @@ -234,6 +234,7 @@ flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html == overflow_simple_a.html overflow_simple_b.html == overflow_wrap_a.html overflow_wrap_ref.html == overflow_xy_a.html overflow_xy_ref.html +== per_glyph_font_fallback_a.html per_glyph_font_fallback_ref.html == percent_height.html percent_height_ref.html == percentage_height_float_a.html percentage_height_float_ref.html == percentage_height_root.html percentage_height_root_ref.html diff --git a/tests/ref/line_height_float_placement_a.html b/tests/ref/line_height_float_placement_a.html index 79230351e2c..e98032141c7 100644 --- a/tests/ref/line_height_float_placement_a.html +++ b/tests/ref/line_height_float_placement_a.html @@ -9,7 +9,7 @@ } body { font-size: 16px; - font-family: Ahem, monospace; + font-family: Ahem; padding-top: 5px; } #floaty { diff --git a/tests/ref/per_glyph_font_fallback_a.html b/tests/ref/per_glyph_font_fallback_a.html new file mode 100644 index 00000000000..9f4d6c12cd9 --- /dev/null +++ b/tests/ref/per_glyph_font_fallback_a.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> +<head> +<!-- Tests that font fallback occurs on a per-glyph basis. --> +<style> +@font-face { + font-family: 'ahem'; + src: url(fonts/ahem/ahem.ttf); +} + +body { + font-family: Ahem, sans-serif; + font-size: 24px; + line-height: 24px; +} +</style> +</head> +<body> +<section>x←</section> +<section>→x</section> +<section>→x←</section> +</body> +</html> + diff --git a/tests/ref/per_glyph_font_fallback_ref.html b/tests/ref/per_glyph_font_fallback_ref.html new file mode 100644 index 00000000000..bb603464846 --- /dev/null +++ b/tests/ref/per_glyph_font_fallback_ref.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html> +<head> +<!-- Tests that font fallback occurs on a per-glyph basis. --> +<style> +@font-face { + font-family: 'ahem'; + src: url(fonts/ahem/ahem.ttf); +} + +body { + font-family: Ahem, sans-serif; + font-size: 24px; + line-height: 24px; +} + +.arrow { + font-family: sans-serif; +} +</style> +</head> +<body> +<section>x<span class=arrow>←</span></section> +<section><span class=arrow>→</span>x</section> +<section><span class=arrow>→</span>x<span class=arrow>←</span></section> +</body> +</html> + diff --git a/tests/ref/text_align_complex_a.html b/tests/ref/text_align_complex_a.html index 24b20a072c5..3a80d4e8c60 100644 --- a/tests/ref/text_align_complex_a.html +++ b/tests/ref/text_align_complex_a.html @@ -9,7 +9,7 @@ div {
width: 100px;
font-size: 10px;
- font-family: Ahem, monospace;
+ font-family: Ahem;
padding: 10px !important;
}
diff --git a/tests/ref/text_align_complex_ref.html b/tests/ref/text_align_complex_ref.html index b716c0265bc..4526c34d65e 100644 --- a/tests/ref/text_align_complex_ref.html +++ b/tests/ref/text_align_complex_ref.html @@ -9,7 +9,7 @@ div { width: 100px; font-size: 10px; - font-family: Ahem, monospace; + font-family: Ahem; padding: 10px !important; } |