| Index: LayoutTests/paint/invalidation/spv2/updating-scrolling-content.html
|
| diff --git a/LayoutTests/compositing/overflow/updating-scrolling-content.html b/LayoutTests/paint/invalidation/spv2/updating-scrolling-content.html
|
| similarity index 80%
|
| copy from LayoutTests/compositing/overflow/updating-scrolling-content.html
|
| copy to LayoutTests/paint/invalidation/spv2/updating-scrolling-content.html
|
| index 5eac468b344335c20a9193563e539c688c02d089..5a27406f711fcde052f66f1587d1a2d03d589e7d 100644
|
| --- a/LayoutTests/compositing/overflow/updating-scrolling-content.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/updating-scrolling-content.html
|
| @@ -1,3 +1,4 @@
|
| +<!-- Based on compositing/overflow/updating-scrolling-content.html -->
|
| <!DOCTYPE html>
|
|
|
| <!--
|
| @@ -25,7 +26,7 @@ https://bugs.webkit.org/show_bug.cgi?id=100524.
|
| height: 1000px;
|
| }
|
| </style>
|
| - <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)
|
| window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
|
| @@ -41,10 +42,14 @@ https://bugs.webkit.org/show_bug.cgi?id=100524.
|
| // indicator (which is now outside the overflow clip).
|
| scroller.scrollTop = 1000;
|
|
|
| - runRepaintTest();
|
| + runPaintInvalidationTest();
|
| });
|
|
|
| - function repaintTest() {
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow DIV id='indicator'",
|
| + "LayoutBlockFlow DIV id='indicator'",
|
| + ];
|
| + function paintInvalidationTest() {
|
| var scroller = document.getElementById('scroller');
|
| var indicator = document.getElementById('indicator');
|
|
|
|
|