blob: 3794e09343cf1978ef46d1d75c552731d20a7c64 [file] [edit]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/ui-helper.js"></script>
<style>
body {
height: 5000px;
}
</style>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
async function doTest()
{
await UIHelper.renderingUpdate();
window.scrollTo(0, 3000);
if (window.internals) {
document.getElementById('layers').innerText = internals.scrollingStateTreeAsText();
}
if (window.testRunner)
testRunner.notifyDone();
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<pre id="layers">Scrolling tree goes here</p>
</body>
</html>