4 backface-visibility: hidden;
6 background-color: green;
7 clip: rect(
40px,
110px,
110px,
40px);
12 background-color: green;
15 backface-visibility: hidden;
18 <script src=
"../../fast/repaint/resources/text-based-repaint.js"></script>
20 function repaintTest() {
21 // This will cause a full layer repaint, but should not include the composited child.
22 document
.getElementById('composited-box').style
.clip
= 'rect(30px, 120px, 120px, 30px)';
24 window
.onload
= runRepaintTest
;
26 <div id=
"composited-box">
27 <div class=
"child"></div>
28 <div class=
"composited child"></div>