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