summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/490182-1b.html
blob: 8a661352c35aae0c441905f59eef9d7d19c1ba1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript">
function boom()
{
  var col1 = document.createElement("col");
  col1.setAttribute("width", "100");
  var next = document.getElementById("col2");
  
  next.parentNode.insertBefore(col1, next);
  reflow();
  col1.removeAttribute("width");
}

function reflow() { document.documentElement.offsetHeight; }

</script>
</head>
<body onload="boom();">
<table border="2" id="table">
<col width=200 id="col2">
<tr>
<td>100?</td><td>200</td>
</tr>
</table>
</BODY>
</HTML>