Commit 158fb0f6 authored by jamesr@google.com's avatar jamesr@google.com
Browse files

2011-01-11 James Robinson <jamesr@chromium.org>

        Update test to use layoutTestController.waitUntilDone()/notifyDone() since it relies on the scroll event which is now async.

        * fast/repaint/resources/fixed-move-after-keyboard-scroll-iframe.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f797bf5f
2011-01-11 James Robinson <jamesr@chromium.org>
Update test to use layoutTestController.waitUntilDone()/notifyDone() since it relies on the scroll event which is now async.
* fast/repaint/resources/fixed-move-after-keyboard-scroll-iframe.html:
2011-01-11 Mihai Parparita <mihaip@chromium.org>
 
Unreviewed; chromium test expectations update.
......
......@@ -16,7 +16,11 @@
{
document.getElementById('toMove').style.left = "150px";
document.getElementById('toMove').style.backgroundColor = "green";
if (window.layoutTestController)
window.layoutTestController.notifyDone();
}
if (window.layoutTestController)
window.layoutTestController.waitUntilDone();
document.addEventListener("scroll", scrollAndRepaint, false);
</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