OLD | NEW |
---|---|
(Empty) | |
1 <script> | |
2 if (window.testRunner) | |
3 window.testRunner.dumpAsText(); | |
4 onload = function() { | |
5 if (window.testRunner && window.internals) | |
6 document.getElementById('layertree').innerText = window.internals.layerT reeAsText(document); | |
chrishtr
2016/08/08 21:16:40
ditto
flackr
2016/08/09 18:35:27
Done.
| |
7 } | |
8 </script> | |
9 <style> | |
10 #scroller { | |
11 background: white local content-box; | |
12 border: 10px solid rgba(0, 255, 0, 0.5); | |
13 overflow: scroll; | |
14 padding: 10px; | |
15 width: 180px; | |
16 height: 180px; | |
17 will-change: transform; | |
18 } | |
19 .spacer { | |
20 height: 280px; | |
21 } | |
22 </style> | |
23 <!-- The scroller's Scrolling Contents Layer should be opaque due to the opaque | |
24 color background. This means that we will be able to draw text with subpixel | |
25 anti-aliasing. | |
26 --> | |
27 <div id="scroller"><div class="spacer"></div></div> | |
28 <pre id="layertree"></pre> | |
OLD | NEW |