5 <style type="text/css" media="screen">
7 -webkit-transform: translateZ(0);
8 background-color: silver;
13 /* create a render layer with no stacking context */
23 /* being clipped, this shouldn't affect container's composited bounds */
30 background-color: blue;
35 if (window.testRunner) {
36 testRunner.dumpAsText();
37 testRunner.waitUntilDone();
42 if (window.testRunner) {
43 document.getElementById('layertree').innerText = testRunner.layerTreeAsText();
44 testRunner.notifyDone();
48 window.addEventListener('load', doTest, false);
51 <!-- the composited bounds of container should be 100px, not 200px -->
52 <div class="container">
54 <div class="box"></div>
57 <pre id="layertree"></pre>