blob: b411cb3dc611aae0e00b02998f4b719c4492d8d5 [file] [log] [blame]
<html>
<head>
<style>
body {
overflow: hidden;
}
iframe {
position: absolute;
top: 0px;
left: 0px;
width: 400px;
height: 400px;
border: none;
}
#indicator {
position: absolute;
top: 58px;
left: 242px;
width: 100px;
height: 100px;
background-color: red;
}
#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>
<div id="indicator"></div>
<iframe src="rtl-relative.html"></iframe>
<pre id="layertree"></pre>
</body>
</html>