| Index: LayoutTests/paint/invalidation/spv2/relative-positioned-movement-repaint.html
|
| diff --git a/LayoutTests/fast/repaint/relative-positioned-movement-repaint.html b/LayoutTests/paint/invalidation/spv2/relative-positioned-movement-repaint.html
|
| similarity index 64%
|
| copy from LayoutTests/fast/repaint/relative-positioned-movement-repaint.html
|
| copy to LayoutTests/paint/invalidation/spv2/relative-positioned-movement-repaint.html
|
| index 9c009bf7966d28262498eaeb2a897cfe19dda412..0e914e1322e9afc212441ea5a802e157661d0291 100644
|
| --- a/LayoutTests/fast/repaint/relative-positioned-movement-repaint.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/relative-positioned-movement-repaint.html
|
| @@ -1,3 +1,4 @@
|
| +<!-- Based on fast/repaint/relative-positioned-movement-repaint.html -->
|
| <!DOCTYPE html>
|
| <style>
|
| #block {
|
| @@ -11,14 +12,16 @@
|
| left: 10px;
|
| }
|
| </style>
|
| -<script src="resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| - function repaintTest()
|
| + window.expectedPaintInvalidationObjects = [
|
| + ];
|
| + function paintInvalidationTest()
|
| {
|
| document.body.offsetTop;
|
| var div = document.getElementById("block");
|
| div.style.left = '50px';
|
| }
|
| - window.onload = runRepaintTest;
|
| + window.onload = runPaintInvalidationTest;
|
| </script>
|
| <div id="block">When this layer moves it shouldn't generate a repaint rect.</div>
|
|
|