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.
This commit is contained in:
Simon Sapin 2015-08-05 19:06:12 +02:00
parent 5e008d1cbd
commit 649301fd35
469 changed files with 82 additions and 1344 deletions

4
resources/ahem.css Normal file
View file

@ -0,0 +1,4 @@
@font-face {
font-family: Ahem;
src: url(ahem/AHEM____.TTF);
}