| Index: LayoutTests/compositing/squashing/squashing-inside-preserve-3d-element.html
|
| diff --git a/LayoutTests/compositing/squashing/squashing-inside-preserve-3d-element.html b/LayoutTests/compositing/squashing/squashing-inside-preserve-3d-element.html
|
| index 7da23917bcea8dc861dc4efcf753e9f07c29639a..877a03bbf483ce89860283a93d2d976d7b89bb62 100644
|
| --- a/LayoutTests/compositing/squashing/squashing-inside-preserve-3d-element.html
|
| +++ b/LayoutTests/compositing/squashing/squashing-inside-preserve-3d-element.html
|
| @@ -3,12 +3,8 @@
|
| <div style="width: 100px; height: 100px; background:lightgray; transform:translateZ(0)"></div>
|
| <div id="target" style="position: absolute; top: 20px; left: 20px; height: 100px; width: 100px; background:lightblue"></div>
|
| </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();
|
| -}
|
| if (window.internals)
|
| internals.settings.setLayerSquashingEnabled(true);
|
|
|
| @@ -16,19 +12,10 @@ if (window.internals)
|
| // was added to fix, the coordinates of the squashing layer paint invalidation rects were not recorded correctly, because some of
|
| // the code computed transformed ancestors incorrectly (it should *not* include the preserve-3d element).
|
|
|
| -runAfterDisplay(function() {
|
| - if (internals)
|
| - window.internals.startTrackingRepaints(document);
|
| -
|
| +function repaintTest() {
|
| var target = document.getElementById('target');
|
| target.style.background = 'red';
|
| +}
|
|
|
| - if (testRunner)
|
| - testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS));
|
| - if (internals)
|
| - window.internals.stopTrackingRepaints(document);
|
| -
|
| - if (testRunner)
|
| - testRunner.notifyDone();
|
| -});
|
| +runRepaintTest();
|
| </script>
|
|
|