Backed out changeset 555c786396f8 (bug 1852046) as requested. CLOSED TREE
[gecko.git] / layout / reftests / table-dom / insertRowsRebuild1.html
blob35a19cb38d54592e5fff651121bb2024b6b9ac2b
1 <HEAD>
2 <SCRIPT src=tableDom.js>
3 </SCRIPT>
4 <SCRIPT>
6 function doIt() {
7 var tbody = document.getElementsByTagName("TBODY")[0];
8 var row = document.createElement("TR", null);
9 appendCell(row, 2, 1);
10 appendCell(row, 1, 1);
11 var refRow = document.getElementsByTagName("TR")[0];
12 tbody.insertBefore(row, refRow);
14 </SCRIPT>
15 </HEAD>
16 <BODY onload="doIt()">
17 <table bgcolor=orange border>
18 <tr>
19 <td rowspan=2>c11</td><td>c12</td>
20 </tr>
21 </table>
22 </BODY></HTML>