3 <style type=
"text/css">
31 background-color:green
;
34 transform:translateZ
(0);
39 opacity: 0; /* hide in pixel result */
40 height: 16px; /* avoid platform-dependent height difference of hidden text layer-tree */
44 if (window
.testRunner
)
45 testRunner
.dumpAsTextWithPixelResults();
49 if (window
.testRunner
)
50 document
.getElementById('layer-tree').innerText
= window
.internals
.layerTreeAsText(document
);
52 window
.addEventListener('load', dumpLayers
, false);
57 <!-- You should see a green box in the top left, and no red. -->
58 <div class=
"indicator box"></div>
60 <div class=
"container">
61 <div style=
"position: relative;">
62 <div style=
"visibility:visible;">
63 <div class=
"visible-box box">
64 <div class=
"composited box"></div>
69 <pre id=
"layer-tree">Layer tree goes here in DRT
</pre>