summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/368651-1.html
blob: 40ee8bbfe72fccb12fac054a7e204ad434a1f5f3 (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
29
30
31
32
33
34
35
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<script>
function boom()
{
  var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
  td.appendChild(document.createTextNode("b"));
  document.getElementById("tbody").appendChild(td);
}
</script>
</head>

<body>

<table border>
  <tbody id="tbody">
    <tr>
      <td rowspan="0">a</td>
    </tr>
    <tr>
    </tr>
  </tbody>
</table>

<script>
  // Flush layout
  document.body.offsetWidth;

  boom();
</script>

</body>
</html>