Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / dom / insertCols5.html
blob1994e8e0c71c982f6909a3dd2be412580ec63649
1 <HEAD>
2 <SCRIPT src=tableDom.js>
3 </SCRIPT>
4 <SCRIPT>
6 function doIt() {
7 var cg = document.getElementsByTagName("COLGROUP")[0];
8 var refCol = document.getElementsByTagName("COL")[1];
9 var col = document.createElement("COL", null);
10 col.width = 200;
11 cg.insertBefore(col, refCol);
13 </SCRIPT>
14 </HEAD>
15 <BODY onload="doIt()">
16 The 2 tables should look the same
17 <table bgcolor=orange border>
18 <colgroup>
19 <col width=100>
20 <col width=300>
21 </colgroup>
22 <tr>
23 <td>100</td><td>200</td><td>300</td>
24 </tr>
25 </table>
26 <BR>
27 <table bgcolor=orange border>
28 <colgroup>
29 <col width=100>
30 <col width=200>
31 <col width=300>
32 </colgroup>
33 <tr>
34 <td>100</td><td>200</td><td>300</td>
35 </tr>
36 </table>
37 </BODY></HTML>