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); |
| 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 width: 200px; |
| 15 height: 200px; |
| 16 will-change: transform; |
| 17 } |
| 18 .spacer { |
| 19 height: 300px; |
| 20 } |
| 21 </style> |
| 22 <!-- The scroller's Scrolling Contents Layer should be opaque due to the opaque |
| 23 color background. This means that we will be able to draw text with subpixel |
| 24 anti-aliasing. |
| 25 --> |
| 26 <div id="scroller"><div class="spacer"></div></div> |
| 27 <pre id="layertree"></pre> |
OLD | NEW |