blob: f2ac2cfc6c5889ae5e82296ae86d9fa0ae957f79 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ 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>