1 <!-- Based on compositing/squashing/repaint-via-layout-offset.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
16 background-color: red;
22 background-color: green;
25 <div style=
"width:200px; height:200px; transform: translateZ(0px); background-color: lightblue"></div>
27 <span class=
"child"></span>
28 <span class=
"child"></span>
31 window
.expectedPaintInvalidationObjects
= [
32 "LayoutBlockFlow (positioned) SPAN class='child embiggen'",
34 function paintInvalidationTest() {
35 document
.querySelectorAll('.child')[1].classList
.add('embiggen');
37 runPaintInvalidationTest();