| Index: LayoutTests/paint/invalidation/spv2/fixed-img-src-change-after-scroll.html
|
| diff --git a/LayoutTests/fast/images/fixed-img-src-change-after-scroll.html b/LayoutTests/paint/invalidation/spv2/fixed-img-src-change-after-scroll.html
|
| similarity index 55%
|
| copy from LayoutTests/fast/images/fixed-img-src-change-after-scroll.html
|
| copy to LayoutTests/paint/invalidation/spv2/fixed-img-src-change-after-scroll.html
|
| index e61210b671fb38c4a4d457818b6ed0f2992f9b09..402688cc3597d8b3bdbcd07197542c6a5218a8d9 100644
|
| --- a/LayoutTests/fast/images/fixed-img-src-change-after-scroll.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/fixed-img-src-change-after-scroll.html
|
| @@ -1,11 +1,15 @@
|
| +<!-- Based on fast/images/fixed-img-src-change-after-scroll.html -->
|
| <!DOCTYPE html>
|
| -<script src="../repaint/resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| -function repaintTest() {
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutImage (positioned) IMG id='img'",
|
| +];
|
| +function paintInvalidationTest() {
|
| window.scrollTo(0, 1000);
|
| - document.getElementById('img').src = 'resources/green.jpg';
|
| + document.getElementById('img').src = '../../../fast/images/resources/green.jpg';
|
| }
|
| -onload = runRepaintTest;
|
| +onload = runPaintInvalidationTest;
|
| </script>
|
| <body style="height: 2000px">
|
| Checks correct paint invalidation on image src change after a pending scroll.
|
|
|