summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-dom/deleteTbodyExpand1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/table-dom/deleteTbodyExpand1.html')
-rw-r--r--layout/reftests/table-dom/deleteTbodyExpand1.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/layout/reftests/table-dom/deleteTbodyExpand1.html b/layout/reftests/table-dom/deleteTbodyExpand1.html
new file mode 100644
index 0000000000..09cf75fc3a
--- /dev/null
+++ b/layout/reftests/table-dom/deleteTbodyExpand1.html
@@ -0,0 +1,55 @@
+<HEAD>
+<SCRIPT src=tableDom.js>
+</SCRIPT>
+<SCRIPT>
+
+function doIt() {
+ deleteTbodyAt(0, 0);
+ deleteTbodyAt(1, 1);
+}
+</SCRIPT>
+</HEAD>
+<BODY onload="doIt()">
+<table bgcolor=orange border>
+ <tbody>
+ <tr>
+ <td>c11</td><td>c12</td>
+ </tr>
+ <tr>
+ <td>c21</td><td>c22</td>
+ </tr>
+ </tbody>
+ <tbody>
+ <tr>
+ <td>c31</td><td>c32</td>
+ </tr>
+ <tr>
+ <td>c41</td><td>c42</td>
+ </tr>
+ </tbody>
+</table>
+<table bgcolor=orange border>
+ <tbody>
+ <tr>
+ <td>c11</td><td>c12</td>
+ </tr>
+ <tr>
+ <td>c21</td><td>c22</td>
+ </tr>
+ </tbody>
+ <tbody>
+ <tr>
+ <td>c31</td><td>c32</td>
+ </tr>
+ <tr>
+ <td>c41</td><td>c42</td>
+ </tr>
+ </tbody>
+</table>
+</BODY></HTML>
+
+
+
+
+
+