| <!DOCTYPE html><!-- webkit-test-runner [ AsyncOverflowScrollingEnabled=true ] --> |
| <body style="height: 2000px;"> |
| <pre id="log"></pre> |
| <div style="position: fixed;"> |
| <div id="scrollable" style="overflow: scroll; position: relative; width: 80px; height: 80px;"> |
| <div style="position: absolute; width: 200px; height: 200px; background: fixed linear-gradient(to bottom right, red, yellow);"></div> |
| </div> |
| </div> |
| <script> |
| if (window.testRunner && window.internals) |
| onload = () => { testRunner.dumpAsText(); log.textContent = internals.scrollingStateTreeAsText() }; |
| </script> |