blob: 57b472936c5528afe6dea144913695d67afac119 [file] [log] [blame]
<script>
function test()
{
if (window.layoutTestController)
layoutTestController.dumpAsText();
document.body.offsetTop;
document.getElementById("iframe").style.height = "100px";
}
</script>
<body onload="test()">
<iframe id="iframe" style="height: 200px;" src="data:text/html,
<head>
<script>
function resized()
{
if (window.layoutTestController)
alert('PASS');
else
document.body.appendChild(document.createTextNode('PASS'));
}
</script>
</head>
<body onresize='resized()'></body>
"></iframe>
</body>