compositing/transitions/transform-on-large-layer.html is flaky

https://bugs.webkit.org/show_bug.cgi?id=110099

Reviewed by Darin Adler.

Only set the timeout for test end after the resize event has been
received. This helps slow test bots, and also makes it easier to
tell rendering failures from failures to send resize event.

* compositing/transitions/transform-on-large-layer.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e3b14e5e
2013-05-13 Allan Sandfeld Jensen <allan.jensen@digia.com>
compositing/transitions/transform-on-large-layer.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=110099
Reviewed by Darin Adler.
Only set the timeout for test end after the resize event has been
received. This helps slow test bots, and also makes it easier to
tell rendering failures from failures to send resize event.
* compositing/transitions/transform-on-large-layer.html:
2013-05-13 Alex Christensen <achristensen@apple.com>
Added testRunner.setPrinting.
......
......@@ -4,7 +4,7 @@
<title>Animating transform on large tiled layer.</title>
<style type="text/css">
#box {
-webkit-transition: -webkit-transform 1s step-end;
-webkit-transition: -webkit-transform 0.7s step-end;
display: block;
width: 1000px;
height: 2000px;
......@@ -31,17 +31,13 @@
{
if (window.testRunner) {
testRunner.waitUntilDone();
window.setTimeout(notifyDone, 1200);
window.setTimeout('window.resizeTo(1600, 1200)', 100);
}
window.onresize = function() {
var box = document.getElementById("box");
box.className = "end";
window.setTimeout('testRunner.notifyDone()', 1500);
}
window.resizeTo(1600,1200);
}
function notifyDone()
{
testRunner.notifyDone();
}
</script>
</head>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment