mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
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:
parent
5e008d1cbd
commit
649301fd35
469 changed files with 82 additions and 1344 deletions
|
@ -47,6 +47,8 @@ def set_defaults(paths, kwargs):
|
|||
if kwargs["processes"] is None:
|
||||
kwargs["processes"] = multiprocessing.cpu_count()
|
||||
|
||||
kwargs["user_stylesheets"].append(servo_path("resources", "ahem.css"))
|
||||
|
||||
wptcommandline.check_args(kwargs)
|
||||
|
||||
def main(paths=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue