| Index: LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-reflection.html
|
| diff --git a/LayoutTests/fast/repaint/scroll-fixed-layer-with-reflection.html b/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-reflection.html
|
| similarity index 57%
|
| copy from LayoutTests/fast/repaint/scroll-fixed-layer-with-reflection.html
|
| copy to LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-reflection.html
|
| index 4d23879592a8567672d7ff4e12327a7dfcc3a105..b7747263ab74ea35fea2babd788f932bb1f9e183 100644
|
| --- a/LayoutTests/fast/repaint/scroll-fixed-layer-with-reflection.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-reflection.html
|
| @@ -1,17 +1,20 @@
|
| +<!-- Based on fast/repaint/scroll-fixed-layer-with-reflection.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();
|
| -
|
| window.onload = function() {
|
| window.scrollTo(100, 180);
|
| - runRepaintTest();
|
| + runPaintInvalidationTest();
|
| };
|
|
|
| - function repaintTest()
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) DIV id='moveMe' class='fixed clipped'",
|
| + "LayoutBlockFlow (positioned) DIV class='absolute green reflected'",
|
| + "LayoutBlockFlow (positioned) DIV class='absolute red'",
|
| + ];
|
| + function paintInvalidationTest()
|
| {
|
| var moveMeElement = document.getElementById('moveMe');
|
| moveMeElement.scrollTop = 250;
|
|
|