5 <style type=
"text/css" media=
"screen">
15 border:
1px solid black;
16 transform: translate(
100px,
0);
25 transform: translateZ(
0);
33 background-color: green;
42 background-color: red;
45 <script type=
"text/javascript" charset=
"utf-8">
46 if (window.testRunner) {
47 testRunner.dumpAsText();
48 testRunner.waitUntilDone();
53 if (window.testRunner) {
54 document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
55 testRunner.notifyDone();
59 window.addEventListener('load', doTest, false);
65 <!-- Go into compositing. -->
66 <div class=
"compositing"></div>
68 <div class=
"indicator"></div>
70 <!-- Test clipping to viewport with some intermediate layers. -->
71 <!-- Green box should extend to the left edge. No red visible. -->
72 <div class=
"container">
73 <div class=
"far-left">
78 <pre id=
"layers">Layer tree goes here in DRT
</pre>