blob: 36cffa9a807e8dc330ae3e14924dfb24d646018c [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] -->
<html>
<head>
<style>
.scroller {
margin: 50px;
height: 512px;
width: 400px;
overflow-y: scroll;
border: 1px solid black;
}
.contents {
height: 3000px;
background-image: repeating-linear-gradient(white, silver 400px);
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.addEventListener('load', () => {
document.getElementById('layers').innerText = internals.layerTreeAsText(document,
internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
}, false);
</script>
</head>
<body>
<div class="scroller">
<div class="contents">
</div>
</div>
<pre id="layers">Layer tree goes here</p>
</body>
</html>