| Index: LayoutTests/css3/filters/multiple-filters-invalidation.html
|
| diff --git a/LayoutTests/css3/filters/multiple-filters-invalidation.html b/LayoutTests/css3/filters/multiple-filters-invalidation.html
|
| index 5b830051d9b48e51179715b7dfb7046550eacd7e..08008e8758efea875647d8b0d27f9eb97d93e8b7 100644
|
| --- a/LayoutTests/css3/filters/multiple-filters-invalidation.html
|
| +++ b/LayoutTests/css3/filters/multiple-filters-invalidation.html
|
| @@ -14,17 +14,19 @@ html {
|
| <body>
|
| <div id="rect"></div>
|
| </body>
|
| +<script src="../../resources/run-after-display.js"></script>
|
| <script>
|
| function changeBackground() {
|
| document.getElementById("rect").style.background = "green";
|
| + if (window.testRunner) {
|
| + testRunner.notifyDone();
|
| + }
|
| }
|
|
|
| if (window.testRunner) {
|
| testRunner.dumpAsTextWithPixelResults();
|
| - testRunner.display();
|
| - changeBackground();
|
| -} else
|
| - window.setTimeout(changeBackground, 250);
|
| -
|
| + testRunner.waitUntilDone();
|
| +}
|
| +runAfterDisplay(changeBackground);
|
| </script>
|
| </html>
|
|
|