mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
Update web-platform-tests to revision 2660fc486f7027c913863d48a8843942f0c0365e
This commit is contained in:
parent
96de31b463
commit
c413a1139e
455 changed files with 8535 additions and 2067 deletions
|
@ -11,7 +11,6 @@ tests can freely rely on these assumptions being true:
|
|||
* The initial value of `color` is `black`.
|
||||
* The user stylesheet is empty (except where indicated by the tests).
|
||||
* The device is interactive and uses scroll bars.
|
||||
* The device has the Ahem font installed.
|
||||
* The HTML `div` element is assigned `display: block;`, the
|
||||
`unicode-bidi` property may be declared, and no other property
|
||||
declarations.
|
||||
|
|
|
@ -121,10 +121,10 @@ assumptions that can be relied on are documented [here][assumptions];
|
|||
tests that rely on anything else should be manual tests that document
|
||||
their assumptions.
|
||||
|
||||
Aside from the [Ahem font][ahem], fonts cannot be relied on to be
|
||||
either installed or to have specific metrics. As such, in most cases
|
||||
when a known font is needed Ahem should be used. In other cases,
|
||||
`@font-face` should be used.
|
||||
Fonts cannot be relied on to be either installed or to have specific
|
||||
metrics. As such, in most cases when a known font is needed, [Ahem][ahem]
|
||||
should be used and loaded as a web font. In other cases, `@font-face`
|
||||
should be used.
|
||||
|
||||
|
||||
### Be Self-Contained
|
||||
|
|
|
@ -20,8 +20,8 @@ two ways:
|
|||
renders a green square when it passes; these can mostly be written to
|
||||
match [this][ref-filled-green-100px-square] reference. This green square is
|
||||
often rendered over a red square, such that when the test fails there is red
|
||||
visible on the page; this can even be done using text by using the [Ahem][]
|
||||
font.
|
||||
visible on the page; this can even be done using text by using the
|
||||
[Ahem][ahem] font.
|
||||
|
||||
More occasionally, the entire canvas is rendered green, typically when
|
||||
testing parts of CSS that affect the entire page. Care has to be taken
|
||||
|
@ -81,3 +81,4 @@ color-related functionality will necessitate using some of these
|
|||
colors!
|
||||
|
||||
[ref-filled-green-100px-square]: https://github.com/w3c/csswg-test/blob/master/reference/ref-filled-green-100px-square.xht
|
||||
[ahem]: ahem
|
Loading…
Add table
Add a link
Reference in a new issue