| <!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] --> |
| <html> |
| <head> |
| <style> |
| .scroller { |
| width: 300px; |
| height: 300px; |
| overflow: auto; |
| -webkit-overflow-scrolling: touch; |
| } |
| |
| .column { |
| width: 1000px; |
| height: 1000px; |
| background: silver; |
| } |
| </style> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| window.addEventListener('load', function() { |
| if (window.testRunner) |
| document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document); |
| }, true); |
| </script> |
| </head> |
| |
| <body> |
| <div class="scroller"> |
| <div class="column"> |
| </div> |
| </div> |
| <pre id="layers">Layer tree goes here in DRT</pre> |
| </body> |
| </html> |