Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug26178.html
blobbe8da16c0abba1672ab82886c16bebd399477529
1 <HEAD>
2 <SCRIPT>
3 function insertRow() {
4 tb = document.getElementById("tb");
5 fr = tb.childNodes[0];
6 nr = document.createElement("TR");
7 nc = document.createElement("TD");
8 nc.appendChild(document.createTextNode("second row"));
9 nr.appendChild(nc);
10 tb.insertBefore(nr,fr);
12 </SCRIPT>
13 </HEAD>
14 <BODY>
15 <TABLE>
16 <THEAD>
17 <TR>
18 <TD>The head</TD>
19 </TR>
20 </THEAD>
21 <TBODY ID="tb">
22 <TR>
23 <TD>First row</TD>
24 </TR>
25 </TBODY>
26 </TABLE>
27 <FORM>
28 <INPUT type=button value="insert" onclick="insertRow();">
29 </FORM>
30 </BODY>