blob: ae3de3b178d59dde9b4d1099c3bf512ab7dd8f7e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (window.internals)
window.internals.setTopContentInset(100);
function doTest()
{
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>
This test applies a content inset and then dumps the layer tree including visible rects. The visible rects should match the expected rects.
<pre id="layers">Layer tree goes here</p>
</body>
</html>