| Index: LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-no-content.html
|
| diff --git a/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html b/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-no-content.html
|
| similarity index 58%
|
| copy from LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html
|
| copy to LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-no-content.html
|
| index 70c642ccf17b42bba23a9660ad19f9be8079b11e..1da10747b5ab69768f9eac06f8d392e4d7ba5e73 100644
|
| --- a/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-no-content.html
|
| @@ -1,18 +1,21 @@
|
| +<!-- Based on compositing/repaint/scroll-fixed-layer-no-content.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: 100px; left: 100px; width: 200px; height: 200px"></div>
|
| There should be no repaints here:
|
| </body>
|
|
|