19 background-color: red;
23 transform:translateZ(
0);
24 background-color: green;
30 background-color: white;
41 if (window
.testRunner
) {
42 testRunner
.waitUntilDone();
43 testRunner
.dumpAsTextWithPixelResults();
46 // The far left coordinate of the document varies by window width.
47 var offset
= document
.body
.clientWidth
- document
.scrollingElement
.scrollWidth
+ 1;
48 document
.getElementById('layer').style
.left
= offset
+ 50;
49 document
.getElementById('indicator').style
.left
= offset
+ 50;
51 window
.setTimeout(function() {
52 window
.scrollTo(offset
, 0);
53 if (window
.testRunner
) {
55 document
.getElementById('layertree').innerText
= window
.internals
.layerTreeAsText(document
);
56 testRunner
.notifyDone();
60 window
.addEventListener('load', doTest
, false);
64 <div class=
"positioned" id=
"indicator"></div>
65 <div class=
"positioned" id=
"layer"></div>
67 <pre id=
"layertree"></pre>