| Index: LayoutTests/css3/filters/filter-repaint-child-layers.html
|
| diff --git a/LayoutTests/css3/filters/filter-repaint-child-layers.html b/LayoutTests/css3/filters/filter-repaint-child-layers.html
|
| index 9e76f72ecd9b3fe9094944655437dac1415ba972..356bb2064bd8a19c493db6d87d27181cc98ce9c8 100644
|
| --- a/LayoutTests/css3/filters/filter-repaint-child-layers.html
|
| +++ b/LayoutTests/css3/filters/filter-repaint-child-layers.html
|
| @@ -31,19 +31,25 @@
|
| }
|
| </style>
|
|
|
| - <script src="../../fast/repaint/resources/repaint.js"></script>
|
| + <script src="../../resources/run-after-display.js"></script>
|
| <script>
|
| - if (window.testRunner)
|
| + if (window.testRunner) {
|
| testRunner.dumpAsTextWithPixelResults();
|
| + testRunner.waitUntilDone();
|
| + }
|
|
|
| function repaintTest()
|
| {
|
| - document.querySelector(".before").classList.remove("before");
|
| + runAfterDisplay(function() {
|
| + document.querySelector(".before").classList.remove("before");
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + });
|
| }
|
| </script>
|
| </head>
|
|
|
| -<body onload="runRepaintTest()">
|
| +<body onload="repaintTest()">
|
|
|
| <div class="blur">
|
| <div class="box"></div>
|
|
|