summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/564054-1.html
blob: 40ce2fc616dc9c1e6f37ab1c83744f1a7b66d1aa (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
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">

function boom()
{
  var tbody = document.getElementById("tbody");
  var trX = document.createElement('tr');
  tbody.insertBefore(trX, tbody.getElementsByTagName("tr")[0]);
  var trY = document.createElement('tr');
  tbody.insertBefore(trY, trX);
  var tdY1 = document.createElement('td');
  tdY1.setAttribute('rowspan', 0);
  trY.appendChild(tdY1);
}
</script>
<style>
td {width: 30px; height: 30px;}

</style>
</head>

<body onload="boom();">
 <table border cellspacing="10px" cellpadding="10px">
  <tbody id="tbody">
   <tr>
    <td></td>
   </tr>
  </tbody>
 </table>
</body>
</html>