mirror of
https://github.com/servo/servo.git
synced 2025-08-29 00:58:20 +01:00
Update web-platform-tests to revision 5852f617c1ad109939bdb6b70f362dcd84a5cb73
This commit is contained in:
parent
c80c3f3167
commit
4375e3f248
44 changed files with 1103 additions and 114 deletions
|
@ -12,7 +12,7 @@ https://github.com/whatwg/fetch/pull/853
|
|||
|
||||
async_test(t => {
|
||||
window.onload = t.step_func(() => {
|
||||
step_timeout(() => {
|
||||
t.step_timeout(() => {
|
||||
assert_equals(window.getComputedStyle(document.body).getPropertyValue('background-color'), "rgb(0, 128, 0)");
|
||||
var link2 = document.createElement("link");
|
||||
link2.onload = t.step_func(() => {
|
||||
|
|
|
@ -18,7 +18,7 @@ See: https://html.spec.whatwg.org/#the-list-of-available-images
|
|||
|
||||
async_test(t => {
|
||||
window.onload = t.step_func(() => {
|
||||
step_timeout(() => {
|
||||
t.step_timeout(() => {
|
||||
assert_equals(document.getElementById("firstimage").width, 16, "Width is 16");
|
||||
var childDocument = document.getElementById('child').contentDocument;
|
||||
var img2 = childDocument.createElement("img");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue