12 transform: translateZ(
0);
15 .with-initial-clipping {
16 clip: rect(
50px,
250px,
250px,
50px);
19 .clipped-composited-child {
22 background-color: yellow;
23 border:
1px solid black;
24 transform: translateZ(
0);
35 clip: rect(
100px,
200px,
200px,
100px);
38 <script src=
"../../fast/repaint/resources/text-based-repaint.js"></script>
40 var alt1
= document
.getElementById('alt1');
41 var alt2
= document
.getElementById('alt2');
44 function repaintTest() {
45 alt2
.disabled
= false;
53 <div class=
"clipping-container">
54 <div class=
"clipped-composited-child"></div>
58 <div class=
"clipping-container with-initial-clipping">
59 <div class=
"clipped-composited-child"></div>