13 transform: translate3d(-
50%,
0,
0);
22 background-color: green;
31 background-color: red;
35 opacity:
0; /* hide from pixel result */
39 if (window
.testRunner
)
40 testRunner
.dumpAsTextWithPixelResults();
44 if (window
.testRunner
)
45 document
.getElementById('layers').innerText
= window
.internals
.layerTreeAsText(document
);
48 window
.addEventListener('load', dumpLayers
, false);
52 <!-- You should see a green rectangle, and no red. -->
53 <div id=
"indicator"></div>
54 <div class=
"container">
55 <div class=
"box" style=
"transform: translateX(0)"></div>
56 <div class=
"box" style=
"transform: translateX(100%)"></div>
58 <pre id=
"layers">Layer tree goes here in DRT
</pre>