1 <!-- Based on compositing/repaint/should-not-repaint-composited-descendants.html -->
5 backface-visibility: hidden;
7 background-color: green;
8 clip: rect(
40px,
110px,
110px,
40px);
13 background-color: green;
16 backface-visibility: hidden;
19 <script src=
"resources/paint-invalidation-test.js"></script>
21 window
.expectedPaintInvalidationObjects
= [
23 "LayoutBlockFlow (positioned) DIV id='composited-box'",
24 "LayoutBlockFlow DIV class='child'",
26 function paintInvalidationTest() {
27 // This will cause a full layer repaint, but should not include the composited child.
28 document
.getElementById('composited-box').style
.clip
= 'rect(30px, 120px, 120px, 30px)';
30 window
.onload
= runPaintInvalidationTest
;
32 <div id=
"composited-box">
33 <div class=
"child"></div>
34 <div class=
"composited child"></div>