diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2015-08-05 19:06:12 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2015-08-07 21:38:55 +0200 |
commit | 649301fd35b76c4c2dfc8d3f15f586cdcad9e343 (patch) | |
tree | dea1d624edebce26f2ef4fb0da3565569d006c41 /resources/ahem.css | |
parent | 5e008d1cbd5c8b6eb8efad5a3141a592aa76e6f2 (diff) | |
download | servo-649301fd35b76c4c2dfc8d3f15f586cdcad9e343.tar.gz servo-649301fd35b76c4c2dfc8d3f15f586cdcad9e343.zip |
Make the Ahem font available to test-css and test-wpt tests.
Provide a user stylesheet with an `@font-face` rule for it.
Fix #6195.
Many previously-failing tests now pass, and a few previously-passing now fail.
Among the latter, `font-family-013.htm` and `fonts-013.htm` are testing
that the Ahem font is not used for characters it doesn’t have a glyph for.
They were passing because Ahem was not available at all,
and now fail because we don’t implement font fallback correctly.
The others also use Ahem, but I don’t understand yet what’s going on exactly.
Diffstat (limited to 'resources/ahem.css')
-rw-r--r-- | resources/ahem.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/ahem.css b/resources/ahem.css new file mode 100644 index 00000000000..4c7e979e64c --- /dev/null +++ b/resources/ahem.css @@ -0,0 +1,4 @@ +@font-face { + font-family: Ahem; + src: url(ahem/AHEM____.TTF); +} |