| background-color: rgba(0, 255, 0, 0.5); |
| -webkit-transform: translateZ(0); |
| <script type="text/javascript"> |
| if (window.testRunner && window.internals) |
| document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document); |
| window.addEventListener('load', doTest, false); |
| <!-- Box with transparent background. --> |
| <!-- GraphicsLayer::contentsOpaque for this box should be false. --> |
| <div class="box composited"></div> |
| <!-- Box with translucent background color. --> |
| <!-- GraphicsLayer::contentsOpaque for this box should be false. --> |
| <div class="box translucent composited"></div> |
| <!-- Box with opaque background color. --> |
| <!-- GraphicsLayer::contentsOpaque for this box should be true. --> |
| <div class="box opaque composited"></div> |
| <pre id="layertree"></pre> |