summaryrefslogtreecommitdiffstats
path: root/layout/tables/crashtests/240854-1.html
blob: ac98567a3d5e6a167ac6c58b33deebb9ef636e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
 <head>
    <title>Table dom Column Handling crash</title>

<SCRIPT>
function doIt() {
  var t = document.getElementById('t1');
  var c1 =document.getElementById('col2');
  t.removeChild(c1);
}
</SCRIPT>  
</HEAD>
<BODY onload="doIt()">
The 2 tables should look the same
<table id="t1" bgcolor=orange border>
 <col width=100>
 <col width=200>
 <col id="col2" width=300>
 <tr>
  <td>100</td><td>200</td><td>auto</td>
 </tr>
</table>
<BR>
<table bgcolor=orange border>
 <col width=100>
 <col width=200>
 <tr>
  <td>100</td><td>200</td><td>auto</td>
 </tr>
</table>

 </BODY>
</HTML>