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