| Index: LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
|
| diff --git a/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html b/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
|
| index 95a5c123d2b418d19f538bc7d478ad5f050a8e7b..c26f06f1015460647c7cbcef8ee9ec4f773f4e35 100644
|
| --- a/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
|
| +++ b/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
|
| @@ -1,21 +1,9 @@
|
| <!DOCTYPE html>
|
| <div id="target" style="width: 100px; height: 100px; background: lightblue"></div>
|
| -<script src="../../resources/run-after-display.js"></script>
|
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| <script>
|
| -if (testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| -}
|
| -
|
| -runAfterDisplay(function() {
|
| - if (internals)
|
| - window.internals.startTrackingRepaints(document);
|
| -
|
| +function repaintTest() {
|
| document.getElementById('target').style.opacity = 0.5;
|
| -
|
| - if (testRunner)
|
| - testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS));
|
| -
|
| - testRunner.notifyDone();
|
| -});
|
| -</script>
|
| +}
|
| +runRepaintTest();
|
| +</script>
|
|
|