240854-1.html (735B)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 2 <html lang="en"> 3 <head> 4 <title>Table dom Column Handling crash</title> 5 6 <SCRIPT> 7 function doIt() { 8 var t = document.getElementById('t1'); 9 var c1 =document.getElementById('col2'); 10 t.removeChild(c1); 11 } 12 </SCRIPT> 13 </HEAD> 14 <BODY onload="doIt()"> 15 The 2 tables should look the same 16 <table id="t1" bgcolor=orange border> 17 <col width=100> 18 <col width=200> 19 <col id="col2" width=300> 20 <tr> 21 <td>100</td><td>200</td><td>auto</td> 22 </tr> 23 </table> 24 <BR> 25 <table bgcolor=orange border> 26 <col width=100> 27 <col width=200> 28 <tr> 29 <td>100</td><td>200</td><td>auto</td> 30 </tr> 31 </table> 32 33 </BODY> 34 </HTML>