mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Update web-platform-tests to revision 7a6f5673ff5d146ca5c09c6a1b42b7706cfee328
This commit is contained in:
parent
e2fca1b228
commit
4787b28da3
261 changed files with 8195 additions and 4689 deletions
|
@ -16,8 +16,13 @@ tests can freely rely on these assumptions being true:
|
|||
* 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;` and no other
|
||||
property declaration.
|
||||
* The HTML `div` element is assigned `display: block;`, the
|
||||
`unicode-bidi` property may be declared, and no other property
|
||||
declarations.
|
||||
<!-- unicode-bidi: isolate should be required; we currently don't
|
||||
assume this because Chrome and Safari are yet to ship this: see
|
||||
https://bugs.chromium.org/p/chromium/issues/detail?id=296863 and
|
||||
https://bugs.webkit.org/show_bug.cgi?id=65617 -->
|
||||
* The HTML `span` element is assigned `display: inline;` and no other
|
||||
property declaration.
|
||||
* The HTML `p` element is assigned `display: block;`
|
||||
|
|
|
@ -700,6 +700,11 @@ Relies on `===`, distinguishes between `-0` and `+0`, and has a specific check f
|
|||
asserts that `expected` is an Array, and `actual` is equal to one of the
|
||||
members i.e. `expected.indexOf(actual) != -1`
|
||||
|
||||
### `assert_object_equals(actual, expected, description)`
|
||||
asserts that `actual` is an object and not null and that all enumerable
|
||||
properties on `actual` are own properties on `expected` with the same values,
|
||||
recursing if the value is an object and not null.
|
||||
|
||||
### `assert_array_equals(actual, expected, description)`
|
||||
asserts that `actual` and `expected` have the same
|
||||
length and the value of each indexed property in `actual` is the strictly equal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue