| Index: LayoutTests/fast/dynamic/layer-no-longer-paginated.html
|
| diff --git a/LayoutTests/fast/dynamic/layer-no-longer-paginated.html b/LayoutTests/fast/dynamic/layer-no-longer-paginated.html
|
| index aa71861b1aa4bec6e1b338d85dae22f8b556ba29..c849f8386290c4551c7aeaa1beee35015b37bb42 100644
|
| --- a/LayoutTests/fast/dynamic/layer-no-longer-paginated.html
|
| +++ b/LayoutTests/fast/dynamic/layer-no-longer-paginated.html
|
| @@ -1,3 +1,4 @@
|
| +<script src="../../resources/run-after-display.js"></script>
|
| <body style="overflow: hidden;">
|
| <p>
|
| Test for <i><a href="rdar://problem/10098679"><rdar://problem/10098679></a>
|
| @@ -18,15 +19,10 @@
|
| document.getElementById("widener").style.removeProperty("width");
|
| document.getElementById("target").style.removeProperty("-webkit-column-count");
|
| }
|
| -
|
| - window.scrollBy(1, 0);
|
|
|
| - if (window.testRunner) {
|
| - testRunner.display();
|
| + window.scrollBy(1, 0);
|
| + if (window.testRunner)
|
| testRunner.dumpAsText();
|
| - test();
|
| - } else
|
| - setTimeout(test, 500);
|
| -
|
| + runAfterDisplay(test);
|
| </script>
|
| </body>
|
|
|