| Index: LayoutTests/paint/invalidation/spv2/resize-squashing-layer-that-needs-full-repaint.html
|
| diff --git a/LayoutTests/compositing/squashing/resize-squashing-layer-that-needs-full-repaint.html b/LayoutTests/paint/invalidation/spv2/resize-squashing-layer-that-needs-full-repaint.html
|
| similarity index 69%
|
| copy from LayoutTests/compositing/squashing/resize-squashing-layer-that-needs-full-repaint.html
|
| copy to LayoutTests/paint/invalidation/spv2/resize-squashing-layer-that-needs-full-repaint.html
|
| index ebec16f32042e4e37cfbe19bb975833ccda30aac..cbfa386165b4f25a3f4020fd9403880adcaa9011 100644
|
| --- a/LayoutTests/compositing/squashing/resize-squashing-layer-that-needs-full-repaint.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/resize-squashing-layer-that-needs-full-repaint.html
|
| @@ -1,5 +1,6 @@
|
| +<!-- Based on compositing/squashing/resize-squashing-layer-that-needs-full-repaint.html -->
|
| <!doctype html>
|
| -<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
|
|
| <!-- The second two divs form a combined squashing layer. display:none'ing the first of them will resize the squashing layer. -->
|
| <div style="width: 500px; height: 500px; transform: translateZ(0)"></div>
|
| @@ -9,9 +10,12 @@
|
| <script>
|
| // This test checks that resizing a squashing layer such that the offset of content squashed into it relative to the squashing
|
| // container causes a repaint of its bounds within the updated squashing layer geometry.
|
| -function repaintTest() {
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) DIV id='to-be-removed'",
|
| +];
|
| +function paintInvalidationTest() {
|
| document.querySelector("#to-be-removed").style.display = 'none';
|
| }
|
|
|
| -runRepaintTest();
|
| -</script>
|
| +runPaintInvalidationTest();
|
| +</script>
|
|
|