blob: dfe0c360ebd630d3a3ec475c5332d3629fcb16fe [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
body {
height: 5000px;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function doTest()
{
window.scrollTo(0, 3000);
if (window.internals) {
document.getElementById('layers').innerText = internals.layerTreeAsText(document,
internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
}
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<pre id="layers">Layer tree goes here</p>
</body>
</html>