Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -3,6 +3,10 @@
<title>Canvas fallback content</title>
<link rel=match href=canvas-fallback-ref.html>
<style>
canvas {
height: 2em; /* avoid causing scrollbar for 600x600 viewport */
}
#canvas2 {
display: inline;
}

View file

@ -400,7 +400,7 @@ var SVGSizing = (function() {
var next = function() {func(config, id, cont)};
// Make sure we don't blow the stack, without too much slowness
if (id % 20 === 0) {
setTimeout(next, 0);
step_timeout(next, 0);
} else {
next();
}

View file

@ -82,10 +82,10 @@ function testPlaceholderWithHeight(placeholder,
} else {
t.step(function() {
placeholder.addEventListener('load', function() {
// setTimeout is a work-around to let engines
// step_timeout is a work-around to let engines
// finish layout of child browsing contexts even
// after the load event
setTimeout(t.step_func(checkSize), 0);
step_timeout(t.step_func(checkSize), 0);
});
testContainer.appendChild(container);
});