| Index: LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-out-of-view.html
|
| diff --git a/LayoutTests/compositing/repaint/scroll-fixed-layer-out-of-view.html b/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-out-of-view.html
|
| similarity index 65%
|
| copy from LayoutTests/compositing/repaint/scroll-fixed-layer-out-of-view.html
|
| copy to LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-out-of-view.html
|
| index 6ab380876216e0742ee2a7e92802bed26ee22870..ebcf1cb3fb6ae355972355f241938522d838e9e5 100644
|
| --- a/LayoutTests/compositing/repaint/scroll-fixed-layer-out-of-view.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-out-of-view.html
|
| @@ -1,19 +1,22 @@
|
| +<!-- Based on compositing/repaint/scroll-fixed-layer-out-of-view.html -->
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| - <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| + <script src="resources/paint-invalidation-test.js"></script>
|
| <script type="text/javascript">
|
| if (window.internals)
|
| internals.settings.setPreferCompositingToLCDTextEnabled(true);
|
|
|
| - function repaintTest()
|
| + window.expectedPaintInvalidationObjects = [
|
| + ];
|
| + function paintInvalidationTest()
|
| {
|
| window.scrollTo(0, 1000);
|
| window.scrollTo(0, 100);
|
| }
|
| </script>
|
| </head>
|
| -<body style="height:2000px" onload="runRepaintTest()">
|
| +<body style="height:2000px" onload="runPaintInvalidationTest()">
|
| <div style="position: fixed; top: -300px; left: 100px; width: 88px; height: 88px; background-color: silver"></div>
|
| <div style="position: fixed; top: 1000px; left: 100px; width: 99px; height: 99px; background-color: silver"></div>
|
| There should be no repaints here:
|
|
|