1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/table-dom/deleteCol3.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +<HEAD> 1.5 +<SCRIPT src=tableDom.js> 1.6 +</SCRIPT> 1.7 +<SCRIPT> 1.8 + 1.9 +function doIt() { 1.10 + var col = document.getElementsByTagName("COL")[2]; 1.11 + col.parentNode.removeChild(col); 1.12 + // HTML5 implies a colgroup around the cols, 1.13 + // so this test case should really be XHTML 1.14 + // in order to test bare col 1.15 +} 1.16 +</SCRIPT> 1.17 +</HEAD> 1.18 +<BODY onload="doIt()"> 1.19 +<table bgcolor=orange border> 1.20 + <col width=100> 1.21 + <col width=200> 1.22 + <col width=300> 1.23 + <tr> 1.24 + <td>100</td><td>200</td><td>auto</td> 1.25 + </tr> 1.26 +</table> 1.27 +</BODY></HTML> 1.28 + 1.29 + 1.30 + 1.31 + 1.32 + 1.33 +