blob: 126bef9179daaa0446846af80b46228e730e3f86 [file] [log] [blame]
<html>
<head>
<style>
body {
overflow: hidden;
}
iframe {
position: absolute;
top: 0px;
left: 0px;
width: 400px;
height: 400px;
border: none;
}
#layertree {
position: absolute;
top: 10000px;
left: 0px;
}
</style>
<script>
function doTest() {
if (window.testRunner) {
document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
testRunner.dumpAsText(true);
}
}
window.addEventListener('load', doTest, false);
</script>
<body>
<iframe src="rtl-absolute.html"></iframe>
<pre id="layertree"></pre>
</body>
</html>