3 <style type="text/css">
9 background-color: green;
12 background-color: rgba(0, 255, 0, 0.5);
15 transform: translateZ(0);
18 <script type="text/javascript">
19 if (window.testRunner)
20 testRunner.dumpAsText();
23 if (window.testRunner && window.internals)
24 document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
26 window.addEventListener('load', doTest, false);
30 <!-- Box with transparent background. -->
31 <!-- GraphicsLayer::contentsOpaque for this box should be false. -->
32 <div class="box composited"></div>
33 <!-- Box with translucent background color. -->
34 <!-- GraphicsLayer::contentsOpaque for this box should be false. -->
35 <div class="box translucent composited"></div>
36 <!-- Box with opaque background color. -->
37 <!-- GraphicsLayer::contentsOpaque for this box should be true. -->
38 <div class="box opaque composited"></div>
40 <pre id="layertree"></pre>