11 background-color: green;
18 background-color: red;
21 transform: translateZ(
0);
25 if (window
.testRunner
)
26 testRunner
.dumpAsText();
28 if (window
.internals
) {
29 var pre
= document
.createElement('pre');
30 pre
.innerHTML
= window
.internals
.layerTreeAsText(document
);
31 document
.body
.appendChild(pre
);
34 window
.onload
= runTest
;
39 The invisible layer should have no effect on the geometry of the
40 composited layers. If you see a rect with dimensions 400x400, that means
41 that the invisible layer has been included and things are broken.
43 <div class=
"composited box"></div>
44 <div class=
"box"></div>
45 <div class=
"invisible">
46 <div class=
"box"></div>