summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-dom/appendCol1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/table-dom/appendCol1.html')
-rw-r--r--layout/reftests/table-dom/appendCol1.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/reftests/table-dom/appendCol1.html b/layout/reftests/table-dom/appendCol1.html
new file mode 100644
index 000000000..27bdcac7c
--- /dev/null
+++ b/layout/reftests/table-dom/appendCol1.html
@@ -0,0 +1,27 @@
+<HEAD>
+<SCRIPT src=tableDom.js>
+</SCRIPT>
+<SCRIPT>
+
+function doIt() {
+ var table = document.getElementsByTagName("TABLE")[0];
+ var col = document.createElement("COL", null);
+ col.width = 200;
+ table.appendChild(col);
+}
+</SCRIPT>
+</HEAD>
+<BODY onload="doIt()">
+<table bgcolor=orange border>
+ <col>
+ <tr>
+ <td>c11</td><td>c12</td>
+ </tr>
+</table>
+</BODY></HTML>
+
+
+
+
+
+