mirror of
https://github.com/servo/servo.git
synced 2025-08-28 08:38:20 +01:00
Update web-platform-tests to revision 46aeb6c47e00b0cd3ebcab3735ec1aba7806ca79
This commit is contained in:
parent
7b6e60883f
commit
2ac52623c2
3570 changed files with 12529 additions and 11891 deletions
|
@ -12,11 +12,10 @@ The simplest crashtest is a single HTML file with any content. The
|
|||
test passes if the load event is reached, and the browser finishes
|
||||
painting, without terminating.
|
||||
|
||||
In some cases crashtests may need to perform work after the initial
|
||||
page load. In this case the test may specify a `class=wait` attribute
|
||||
on the root element. The test will not complete until that attribute
|
||||
is removed from the root. At the time when the test would otherwise
|
||||
have ended a `TestRendered` event is emitted; test authors can use
|
||||
this event to perform modifications that are guaranteed not to be
|
||||
batched with the initial paint. This matches the behaviour of
|
||||
[reftests](reftests).
|
||||
In some cases crashtests may need to perform work after the initial page load.
|
||||
In this case the test may specify a `class=test-wait` attribute on the root
|
||||
element. The test will not complete until that attribute is removed from the
|
||||
root. At the time when the test would otherwise have ended a `TestRendered`
|
||||
event is emitted; test authors can use this event to perform modifications that
|
||||
are guaranteed not to be batched with the initial paint. This matches the
|
||||
behaviour of [reftests](reftests).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue