| -webkit-transform: translateZ(0); |
| opacity: 0; /* hide from pixel result */ |
| document.getElementById('layers').innerText = window.testRunner.layerTreeAsText(); |
| window.addEventListener('load', dumpLayers, false); |
| <div style="position: absolute; left: 0px; top: 0px; z-index: 1; " class="composited"> |
| <img style="position: absolute; left: 10px; top: 10px; z-index: 0;"> |
| <div style="position: absolute; left: 500px; top: 100px; z-index: 1; visibility: hidden;"> |
| <div class="inner box"></div> |
| <div style="position: absolute; left: 0px; top: 250px; z-index: 1; " class="composited"> |
| <img style="position: absolute; left: 10px; top: 10px; z-index: 0;"> |
| <div style="position: absolute; left: 500px; top: 100px; z-index: 1; visibility: hidden;"> |
| <!-- Ideally this layer wouldn't affect the bounds of its composited ancestor. --> |
| <div class="composited inner box"></div> |
| <pre id="layers">Layer tree goes here in DRT</pre> |