7 transform:translatez(0);
16 background-color: red;
20 background-color: lime;
49 if (window.testRunner) {
50 testRunner.dumpAsTextWithPixelResults();
51 testRunner.waitUntilDone();
54 window.addEventListener('load', function() {
55 if (window.testRunner) {
56 document.getElementById("layertree").innerText = window.internals.layerTreeAsText(document);
57 testRunner.notifyDone();
65 <!-- This red div should be completely underneath the green div -->
66 <div class="composited red box behind"> </div>
68 <!-- This lime colored div should correctly detect overlap and become composited. -->
69 <div class="lime box ontop"> </div>
71 <pre id="layertree"></pre>