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