8 transform: translateZ(
0);
17 background-color: red;
26 background-color: green;
42 if (window
.testRunner
) {
43 testRunner
.dumpAsTextWithPixelResults();
44 testRunner
.waitUntilDone();
47 window
.addEventListener('load', function() {
48 if (window
.testRunner
) {
49 document
.getElementById("layertree").innerText
= window
.internals
.layerTreeAsText(document
);
50 testRunner
.notifyDone();
56 <!-- container has empty bounds, but is composited -->
58 <!-- this red square should not appear over the green square -->
62 <!-- This green square should composite because it overlaps the red one -->
63 <div id=
"green"></div>
65 <pre id=
"layertree"></pre>