summaryrefslogtreecommitdiff
path: root/layout/reftests/bugs/281241-1.html
blob: e6d40d1f07f3320cd9666efda8381d5de9b9949a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>col removal</title>
  <script type="text/javascript">
   function foo ()
   {
     var out =document.getElementById('outer');
     var int   =document.getElementById('inner');
     out.removeChild(int);
   }
  </script>
 </head>
 <body onload="foo()">

  <table border>
   <colgroup width="500px" id="outer">
    <col width="200px" id="inner">
   </colgroup>
   <tr><td>&nbsp;</td></tr>
  </table>
 </body>
</html>