OLD | NEW |
---|---|
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 #container { | 4 #container { |
5 position: absolute; | 5 position: absolute; |
6 top: 0px; | 6 top: 0px; |
7 left: 400px; | 7 left: 400px; |
8 transform: translateZ(0); | 8 transform: translateZ(0); |
9 } | 9 } |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... | |
39 </style> | 39 </style> |
40 | 40 |
41 <script> | 41 <script> |
42 if (window.testRunner) { | 42 if (window.testRunner) { |
43 testRunner.dumpAsTextWithPixelResults(); | 43 testRunner.dumpAsTextWithPixelResults(); |
44 testRunner.waitUntilDone(); | 44 testRunner.waitUntilDone(); |
45 } | 45 } |
46 | 46 |
47 window.addEventListener('load', function() { | 47 window.addEventListener('load', function() { |
48 if (window.testRunner) { | 48 if (window.testRunner) { |
49 document.getElementById("layertree").innerText = window.internals.la yerTreeAsText(document); | 49 document.getElementById("layertree").innerText = window.internals.la yerTreeAsText(document, window.internals.OUTPUT_CHILDREN_AS_LAYER_LIST); |
wkorman
2016/10/04 18:18:14
In what cases are we not going to be passing OUTPU
| |
50 testRunner.notifyDone(); | 50 testRunner.notifyDone(); |
51 } | 51 } |
52 }, false); | 52 }, false); |
53 </script> | 53 </script> |
54 | 54 |
55 <body> | 55 <body> |
56 <!-- container has empty bounds, but is composited --> | 56 <!-- container has empty bounds, but is composited --> |
57 <div id="container"> | 57 <div id="container"> |
58 <!-- this red square should not appear over the green square --> | 58 <!-- this red square should not appear over the green square --> |
59 <div id="red"></div> | 59 <div id="red"></div> |
60 </div> | 60 </div> |
61 | 61 |
62 <!-- This green square should composite because it overlaps the red one --> | 62 <!-- This green square should composite because it overlaps the red one --> |
63 <div id="green"></div> | 63 <div id="green"></div> |
64 | 64 |
65 <pre id="layertree"></pre> | 65 <pre id="layertree"></pre> |
66 </body> | 66 </body> |
67 </html> | 67 </html> |
OLD | NEW |