summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/281241-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/281241-1.html')
-rw-r--r--layout/reftests/bugs/281241-1.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/281241-1.html b/layout/reftests/bugs/281241-1.html
new file mode 100644
index 0000000000..e6d40d1f07
--- /dev/null
+++ b/layout/reftests/bugs/281241-1.html
@@ -0,0 +1,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>