33 lines
784 B
HTML
33 lines
784 B
HTML
<!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>
|