<html> | |
<head> | |
<style> | |
body { | |
overflow: hidden; | |
} | |
iframe { | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 400px; | |
height: 400px; | |
border: none; | |
} | |
</style> | |
<script> | |
function doTest() { | |
if (window.testRunner && window.internals) { | |
testRunner.setCustomTextOutput(internals.layerTreeAsText(document)); | |
testRunner.dumpAsTextWithPixelResults(); | |
} | |
} | |
window.addEventListener('load', doTest, false); | |
</script> | |
<body> | |
<iframe src="rtl-fixed.html"></iframe> | |
</body> | |
</html> |