gecko-dev/layout/reftests/bugs/428278.html
2008-08-07 16:21:10 +02:00

19 lines
353 B
HTML

<!DOCTYPE HTML>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head><body onload="foo()">
<iframe id="x" src="428278-iframe.html"></iframe>
<script>
var w = 400;
function foo() {
var div = document.getElementById('x');
div.style.width=w+"px";
++w;
var v = document.offsetHeight;
}
</script>
</body></html>