Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / dom / deleteCol1.html
blob00eeb99a2c69dc62cfc1e7e2a3f458aac8e53e1b
1 <HEAD>
2 <SCRIPT src=tableDom.js>
3 </SCRIPT>
4 <SCRIPT>
6 function doIt() {
7 var col = document.getElementsByTagName("COL")[0];
8 col.parentNode.removeChild(col);
10 </SCRIPT>
11 </HEAD>
12 <BODY onload="doIt()">
13 The 2 tables should look the same
14 <table bgcolor=orange border>
15 <col width=100>
16 <col width=200>
17 <col width=300>
18 <tr>
19 <td>200</td><td>300</td><td>auto</td>
20 </tr>
21 </table>
22 <BR>
23 <table bgcolor=orange border>
24 <col width=200>
25 <col width=300>
26 <tr>
27 <td>200</td><td>300</td><td>auto</td>
28 </tr>
29 </table>
31 </BODY></HTML>