OLD | NEW |
1 <style> | 1 <style> |
2 .composited { | 2 .composited { |
3 -webkit-transform: translateZ(0); | 3 transform: translateZ(0); |
4 } | 4 } |
5 | 5 |
6 img { | 6 img { |
7 background-color: black; | 7 background-color: black; |
8 width: 50px; | 8 width: 50px; |
9 height: 50px; | 9 height: 50px; |
10 } | 10 } |
11 </style> | 11 </style> |
12 <script> | 12 <script> |
13 if (window.testRunner) | 13 if (window.testRunner) |
14 testRunner.dumpAsText(); | 14 testRunner.dumpAsText(); |
15 | 15 |
16 function dumpLayers() | 16 function dumpLayers() |
17 { | 17 { |
18 if (window.testRunner) { | 18 if (window.testRunner) { |
19 document.getElementById('layers').innerText = window.internals.layer
TreeAsText(document); | 19 document.getElementById('layers').innerText = window.internals.layer
TreeAsText(document); |
20 } | 20 } |
21 } | 21 } |
22 window.addEventListener('load', dumpLayers, false); | 22 window.addEventListener('load', dumpLayers, false); |
23 </script> | 23 </script> |
24 <body> | 24 <body> |
25 <div style="position: absolute; left: 0px; top: 0px; z-index: 106; " class="
composited"> | 25 <div style="position: absolute; left: 0px; top: 0px; z-index: 106; " class="
composited"> |
26 <img style="position: absolute; left: 10px; top: 10px; z-index: -2;"> | 26 <img style="position: absolute; left: 10px; top: 10px; z-index: -2;"> |
27 <img style="position: absolute; left: 44940px; top: 15013px; z-index: 0;
visibility: hidden;"> | 27 <img style="position: absolute; left: 44940px; top: 15013px; z-index: 0;
visibility: hidden;"> |
28 </div> | 28 </div> |
29 <pre id="layers">Layer tree goes here in DRT</pre> | 29 <pre id="layers">Layer tree goes here in DRT</pre> |
30 </body> | 30 </body> |
OLD | NEW |