summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/468771-1.xhtml
blob: 9f4462f922faba210aff59dad916eacb6c225b89 (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
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<script type="text/javascript">

function boom()
{
  var newTD = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
  newTD.setAttribute("rowspan", 3);
  document.getElementById("tr1").appendChild(newTD);

  document.documentElement.offsetHeight;

  var newTR = document.createElementNS("http://www.w3.org/1999/xhtml", "tr");
  document.getElementById("table").appendChild(newTR);
}

</script>

</head>

<body onload="boom();">

<table id="table">AAAA<tr id="tr1"></tr><tr><td><div style="column-width: 1px;">B C</div></td></tr></table>

</body>
</html>