| <style> |
| .composited { |
| transform: translateZ(0); |
| } |
| |
| img { |
| background-color: black; |
| width: 50px; |
| height: 50px; |
| } |
| </style> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| function dumpLayers() |
| { |
| if (window.testRunner) { |
| document.getElementById('layers').innerText = window.internals.layerTreeAsText(document); |
| } |
| } |
| window.addEventListener('load', dumpLayers, false); |
| </script> |
| <body> |
| <div style="position: absolute; left: 0px; top: 0px; z-index: 106; " class="composited"> |
| <img class="composited" style="position: absolute; left: 10px; top: 10px; z-index: -2;"> |
| <img style="position: absolute; left: 44940px; top: 15013px; z-index: 0; visibility: hidden;"> |
| </div> |
| <pre id="layers">Layer tree goes here in DRT</pre> |
| </body> |