| Index: LayoutTests/paint/invalidation/spv2/invalidations-with-large-negative-margin.html
|
| diff --git a/LayoutTests/compositing/squashing/invalidations-with-large-negative-margin.html b/LayoutTests/paint/invalidation/spv2/invalidations-with-large-negative-margin.html
|
| similarity index 66%
|
| copy from LayoutTests/compositing/squashing/invalidations-with-large-negative-margin.html
|
| copy to LayoutTests/paint/invalidation/spv2/invalidations-with-large-negative-margin.html
|
| index 7fa3c34d96f58a33b8f824c493f30ea496998d68..e724f402016b1822840c77f28462b51341392d3f 100644
|
| --- a/LayoutTests/compositing/squashing/invalidations-with-large-negative-margin.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/invalidations-with-large-negative-margin.html
|
| @@ -1,3 +1,4 @@
|
| +<!-- Based on compositing/squashing/invalidations-with-large-negative-margin.html -->
|
| <!DOCTYPE html>
|
| <div style="height:200px;width:600px;overflow:scroll">
|
| <div style="position:relative">
|
| @@ -7,14 +8,17 @@
|
| </div>
|
| </div>
|
|
|
| -<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| // Test that moving a Layer that is squashed relative to its squashing container repaints correctly.
|
| // In particular, the repaint rect needs to be recorded in the correct position relative to the squashing GraphicsLayer.
|
| -function repaintTest()
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) DIV id='chip'",
|
| +];
|
| +function paintInvalidationTest()
|
| {
|
| document.getElementById('chip').style.left = "400px";
|
| }
|
|
|
| -runRepaintTest();
|
| +runPaintInvalidationTest();
|
| </script>
|
|
|