summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-dom/deleteCellsExpandZeroColspan.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/table-dom/deleteCellsExpandZeroColspan.html')
-rw-r--r--layout/reftests/table-dom/deleteCellsExpandZeroColspan.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/table-dom/deleteCellsExpandZeroColspan.html b/layout/reftests/table-dom/deleteCellsExpandZeroColspan.html
new file mode 100644
index 0000000000..9df0479bf5
--- /dev/null
+++ b/layout/reftests/table-dom/deleteCellsExpandZeroColspan.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<body>
+<table bgcolor="orange" border="1">
+<tr>
+ <td>c11</td><td>c12</td><td>c13</td><td>c14</td>
+</tr>
+ <tr>
+ <td id="c21">c21</td><td colspan="0">X1</td>
+ </tr>
+</table>
+
+<script>
+document.body.offsetWidth;
+c21 = document.getElementById("c21");
+c21.remove();
+</script>
+
+</body>
+</html>