5 <style type=
"text/css" media=
"screen">
15 border:
1px solid black;
24 transform: translateZ(
0);
32 background-color: green;
36 transform: translateX(
200px);
45 background-color: red;
48 <script type=
"text/javascript" charset=
"utf-8">
49 if (window.testRunner) {
50 testRunner.dumpAsText();
51 testRunner.waitUntilDone();
56 document.getElementById('far-left').className = 'moved';
57 if (window.testRunner) {
58 document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
59 testRunner.notifyDone();
63 window.addEventListener('load', doTest, false);
69 <!-- Go into compositing. -->
70 <div class=
"compositing"></div>
72 <div class=
"indicator"></div>
74 <!-- Test that layers get updated on the addition of a transform -->
75 <!-- The green layer should extend to the left edge of the page -->
76 <div class=
"container">
81 <pre id=
"layers">Layer tree goes here in DRT
</pre>