blob: a27e663763f7389aa3daa5b61db97319d8531eb3 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] -->
<html>
<head>
<style>
.scroller {
overflow: scroll;
height: 300px;
width: 300px;
border: 1px solid black;
}
.contents {
height: 2000px;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.addEventListener('load', () => {
if (window.internals)
document.getElementById('layer-tree').innerText = window.internals.layerTreeAsText(document);
}, false);
</script>
</head>
<body>
<div class="scroller">
<div class="contents"></div>
</div>
<pre id="layer-tree"></pre>
</body>
</html>