| Index: LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-transformed-parent-layer.html
|
| diff --git a/LayoutTests/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer.html b/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-transformed-parent-layer.html
|
| similarity index 55%
|
| copy from LayoutTests/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer.html
|
| copy to LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-transformed-parent-layer.html
|
| index ce4202598494edaa6751fd2023595e2f9ff47d58..dc88c51ca1bd7b02759bf6ddcb24b2561e878656 100644
|
| --- a/LayoutTests/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-transformed-parent-layer.html
|
| @@ -1,12 +1,15 @@
|
| +<!-- Based on fast/repaint/scroll-fixed-layer-with-transformed-parent-layer.html -->
|
| <html>
|
| <head>
|
| - <link rel="stylesheet" href="resources/default.css"></style>
|
| - <script src="resources/text-based-repaint.js" type="text/javascript"></script>
|
| + <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"></style>
|
| + <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
|
| <script type="text/javascript">
|
| - if (window.testRunner)
|
| - testRunner.dumpAsTextWithPixelResults();
|
| -
|
| - function repaintTest()
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) DIV id='moveMe' class='fixed clipped'",
|
| + "LayoutBlockFlow (positioned) DIV class='absolute green'",
|
| + "LayoutBlockFlow (positioned) DIV class='absolute red'",
|
| + ];
|
| + function paintInvalidationTest()
|
| {
|
| var moveMeElement = document.getElementById('moveMe');
|
| moveMeElement.scrollTop = 250;
|
| @@ -14,7 +17,7 @@
|
| }
|
| </script>
|
| </head>
|
| -<body style="height:2000px;" onload="runRepaintTest()">
|
| +<body style="height:2000px;" onload="runPaintInvalidationTest()">
|
| <!-- You should see 1 green rectangle rotated in the output and no red. -->
|
| <div class="rotated">
|
| <div id="moveMe" style="top: 100px; left: 250px;" class="fixed clipped">
|
|
|