| Index: LayoutTests/paint/invalidation/spv2/paged-with-overflowing-block-rl.html
|
| diff --git a/LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html b/LayoutTests/paint/invalidation/spv2/paged-with-overflowing-block-rl.html
|
| similarity index 65%
|
| copy from LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html
|
| copy to LayoutTests/paint/invalidation/spv2/paged-with-overflowing-block-rl.html
|
| index a0d760fc5ebbadeec47a5e8a51520de05b19de14..d640ad74b29b41c78df590a96936945d1a392f17 100644
|
| --- a/LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/paged-with-overflowing-block-rl.html
|
| @@ -1,11 +1,12 @@
|
| +<!-- Based on fast/repaint/paged-with-overflowing-block-rl.html -->
|
| <!DOCTYPE html>
|
| -<script src="resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| - if (window.internals)
|
| - onload = runRepaintTest;
|
| - else
|
| - onclick = repaintTest;
|
| - function repaintTest() {
|
| + onload = runPaintInvalidationTest;
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow DIV id='elm'",
|
| + ];
|
| + function paintInvalidationTest() {
|
| document.getElementById('elm').style.background = 'green';
|
| }
|
| </script>
|
| @@ -18,4 +19,4 @@
|
| document.getElementById("container").scrollLeft = 0;
|
| </script>
|
| <p>Test changing the background color of a big block that overflows the flow thread.</p>
|
| -<p>A green square with a horizontal scrollbar should be seen above (if tested manually, you need to click first).</p>
|
| +<p>A green square with a horizontal scrollbar should be seen above.</p>
|
|
|