1 <!-- Based on compositing/repaint/clipping-should-not-repaint-composited-descendants.html -->
13 transform: translateZ(
0);
16 .with-initial-clipping {
17 clip: rect(
50px,
250px,
250px,
50px);
20 .clipped-composited-child {
23 background-color: yellow;
24 border:
1px solid black;
25 transform: translateZ(
0);
36 clip: rect(
100px,
200px,
200px,
100px);
39 <script src=
"resources/paint-invalidation-test.js"></script>
41 var alt1
= document
.getElementById('alt1');
42 var alt2
= document
.getElementById('alt2');
45 window
.expectedPaintInvalidationObjects
= [
47 function paintInvalidationTest() {
48 alt2
.disabled
= false;
52 runPaintInvalidationTest();
56 <div class=
"clipping-container">
57 <div class=
"clipped-composited-child"></div>
61 <div class=
"clipping-container with-initial-clipping">
62 <div class=
"clipped-composited-child"></div>