| Index: LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html
|
| diff --git a/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html b/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html
|
| index 3d90b1586e562dbefa18b567eea73cecb010b378..5e23a384068bea72c5e028034f90cdb92a3314c4 100644
|
| --- a/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html
|
| +++ b/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html
|
| @@ -1,30 +1,19 @@
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| + <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| <script type="text/javascript">
|
| - if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -
|
| if (window.internals)
|
| internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
|
| -
|
| - function test()
|
| + function repaintTest()
|
| {
|
| - document.body.offsetHeight;
|
| - if (window.internals)
|
| - window.internals.startTrackingRepaints(document);
|
| -
|
| window.scrollTo(0, 1000);
|
| window.scrollTo(0, 100);
|
| -
|
| - if (window.internals)
|
| - document.getElementById('repaintRects').textContent = window.internals.repaintRectsAsText(document);
|
| }
|
| </script>
|
| </head>
|
| -<body style="height:2000px" onload="test()">
|
| +<body style="height:2000px" onload="runRepaintTest()">
|
| <div style="position: fixed; top: 100px; left: 100px; width: 200px; height: 200px"></div>
|
| There should be no repaints here:
|
| - <pre id="repaintRects"></pre>
|
| </body>
|
| </html>
|
|
|