3 #clipping-repaint-container {
4 transform: translateZ(
0);
11 border: black
1px solid;
14 #non-repaint-container-compositing-layer {
15 -webkit-perspective:
1px;
21 border: red
1px solid;
31 border: green
1px solid;
35 transform: translateZ(-
1px);
41 border: blue
2px solid;
45 transform: translateZ(-
1px);
51 border: blue
1px solid;
55 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
57 if (window
.testRunner
)
58 testRunner
.waitUntilDone();
60 window
.onload = function() {
61 var paintingLayer
= document
.getElementById("painting-layer");
62 paintingLayer
.style
.display
= "block";
63 runAfterLayoutAndPaint(function() {
64 var compositingChild2
= document
.getElementById("compositing-child2");
65 compositingChild2
.style
.transform
= "translateZ(0)";
66 if (window
.testRunner
)
67 testRunner
.notifyDone();
72 <div id=
"clipping-repaint-container">
73 <div id=
"non-repaint-container-compositing-layer">
74 <div id=
"painting-layer">
75 <div id=
"compositing-child1">
77 <div id=
"compositing-child2">