blob: ded355e89d35e07553c6ebbfa3364c162b40c775 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
body {
height: 1500px;
width: 1500px;
}
iframe {
position: absolute;
top: 3000px;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function dumpLayers()
{
if (window.internals)
document.getElementById('layers').innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS)
}
window.addEventListener('load', dumpLayers, false);
</script>
</head>
<body>
<iframe src="resources/subframe-with-layers.html" scrolling="nso"></iframe>
<pre id="layers">Layer tree goes here when testing</pre>
</body>
</html>