1 <!-- Based on compositing/squashing/remove-squashed-layer-plus-move.html -->
12 <div style=
"position: absolute; width: 1000px; height: 1000px; transform: translateZ(0)"></div>
14 <div class=
"mv-tile" id=
"foo"></div>
15 <div class=
"mv-tile" style=
"background-color: lightblue;"></div>
17 <div class=
"mv-tile" style=
"width: 1000px"></div>
18 <script src=
"resources/paint-invalidation-test.js"></script>
20 // This test verifies that a paint invalidation is correctly issued for both the old and new location of
21 // the mv-tile element which is *not* removed from the DOM, but nevertheless moves to the left as the other one
24 window
.expectedPaintInvalidationObjects
= [
25 "LayoutBlockFlow (relative positioned) DIV id='foo' class='mv-tile'",
30 "LayoutBlockFlow DIV id='container'",
31 "LayoutBlockFlow DIV id='container'",
32 "LayoutBlockFlow (relative positioned) DIV class='mv-tile'",
33 "LayoutBlockFlow (anonymous)",
34 "LayoutBlockFlow (relative positioned) DIV class='mv-tile'",
39 function paintInvalidationTest() {
40 document
.querySelector("#foo").remove();
43 runPaintInvalidationTest();