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