| Index: LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-no-visible-content.html
|
| diff --git a/LayoutTests/fast/repaint/scroll-fixed-layer-with-no-visible-content.html b/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-no-visible-content.html
|
| similarity index 59%
|
| copy from LayoutTests/fast/repaint/scroll-fixed-layer-with-no-visible-content.html
|
| copy to LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-no-visible-content.html
|
| index 6d3b29f061b31bfeef0b5a0f5d836cc4a81aa9b5..cb95e011e53bbf9182e3b8c3439fb3c66e822495 100644
|
| --- a/LayoutTests/fast/repaint/scroll-fixed-layer-with-no-visible-content.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-no-visible-content.html
|
| @@ -1,18 +1,20 @@
|
| +<!-- Based on fast/repaint/scroll-fixed-layer-with-no-visible-content.html -->
|
| <html>
|
| <head>
|
| <title></title>
|
| - <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(1000, 1000);
|
| - runRepaintTest();
|
| + runPaintInvalidationTest();
|
| };
|
|
|
| - function repaintTest()
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) DIV id='moveMe' class='fixed clipped'",
|
| + "LayoutBlockFlow (positioned) DIV class='absolute green'",
|
| + ];
|
| + function paintInvalidationTest()
|
| {
|
| var moveMeElement = document.getElementById('moveMe');
|
| moveMeElement.style.visibility = "visible";
|
|
|