blob: dc916965be3ddc95e8c0975d221d8219d1a0a661 [file] [log] [blame]
<!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>