| Index: LayoutTests/compositing/geometry/foreground-offset-change.html
|
| diff --git a/LayoutTests/compositing/geometry/foreground-offset-change.html b/LayoutTests/compositing/geometry/foreground-offset-change.html
|
| index 550d65cdd6f83572a511e9ab24c63b611934de71..c0ad39ea353e9e3a1dbcb5b946946bb5421b06c2 100644
|
| --- a/LayoutTests/compositing/geometry/foreground-offset-change.html
|
| +++ b/LayoutTests/compositing/geometry/foreground-offset-change.html
|
| @@ -1,5 +1,6 @@
|
| <html>
|
| <head>
|
| + <script src="../../resources/run-after-display.js"></script>
|
| <style>
|
| #clipper {
|
| width: 550px;
|
| @@ -47,15 +48,18 @@
|
|
|
| </style>
|
| <script>
|
| - if (window.testRunner)
|
| + if (window.testRunner) {
|
| + testRunner.waitUntilDone();
|
| testRunner.dumpAsTextWithPixelResults();
|
| + }
|
|
|
| function doTest()
|
| {
|
| - if (window.testRunner)
|
| - testRunner.display();
|
| -
|
| - document.getElementById("stretch").style.left = "-100px";
|
| + runAfterDisplay(function() {
|
| + document.getElementById("stretch").style.left = "-100px";
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + });
|
| }
|
|
|
| window.addEventListener('load', doTest, false);
|
|
|