summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/428278.html
blob: feed7c77fae7e58fa74fafff995892dd4536035b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!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>