blob: f2cddadafc2a3c267fbf2e9c4ba52f46961cc8da [file] [log] [blame]
<!DOCTYPE HTML>
<p id="result">Test did not run</p>
<div style="-webkit-transform: scale(2);">
<iframe id="target" style="width: 100px; height: 100px; border: none;"></iframe>
</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var target = document.getElementById("target");
document.body.offsetTop;
document.getElementById("result").innerText = target.contentDocument.body.offsetWidth > 100 ? "FAIL" : "PASS";
</script>