| Index: LayoutTests/compositing/squashing/squash-above-fixed-2.html
|
| diff --git a/LayoutTests/compositing/squashing/squash-above-fixed-2.html b/LayoutTests/compositing/squashing/squash-above-fixed-2.html
|
| index c2fc3c04ca83773b676a9641cef00992664c7118..b16def88f5c2489f5d7abb4da08721456252ceed 100644
|
| --- a/LayoutTests/compositing/squashing/squash-above-fixed-2.html
|
| +++ b/LayoutTests/compositing/squashing/squash-above-fixed-2.html
|
| @@ -2,6 +2,7 @@
|
| <html id="htmlTag">
|
|
|
| <head>
|
| +<script src="../../resources/run-after-display.js"></script>
|
| <style>
|
| #fixed {
|
| -webkit-transform: translatez(0);
|
| @@ -47,8 +48,10 @@ body {
|
| </style>
|
|
|
| <script>
|
| - if (window.testRunner)
|
| + if (window.testRunner) {
|
| testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| + }
|
|
|
| if (window.internals)
|
| internals.settings.setLayerSquashingEnabled(true);
|
| @@ -65,7 +68,12 @@ body {
|
|
|
| // Case 2
|
| window.scrollTo(0, 80);
|
| - document.getElementById('Case2').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
|
| + runAfterDisplay(function() {
|
| + document.getElementById('Case2').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
|
| + if (window.testRunner) {
|
| + testRunner.notifyDone();
|
| + }
|
| + });
|
| }
|
| </script>
|
| </head>
|
|
|