summaryrefslogtreecommitdiffstats
path: root/layout/tables/crashtests/358679-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/tables/crashtests/358679-1.xhtml')
-rw-r--r--layout/tables/crashtests/358679-1.xhtml31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/tables/crashtests/358679-1.xhtml b/layout/tables/crashtests/358679-1.xhtml
new file mode 100644
index 0000000000..ef3e40b4bb
--- /dev/null
+++ b/layout/tables/crashtests/358679-1.xhtml
@@ -0,0 +1,31 @@
+<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
+
+<head>
+<script>
+function foo() {
+ var cell2 = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
+ cell2.appendChild(document.createTextNode('2'));
+
+ document.getElementById("row2").appendChild(cell2);
+
+ document.documentElement.removeAttribute("class");
+}
+
+</script>
+</head>
+
+<body onload="setTimeout(foo, 30);">
+
+<table border="1">
+ <tr>
+ <td>A</td>
+ <td>B</td>
+ </tr>
+ <tr id="row2">
+ <td colspan="0">1</td>
+ </tr>
+</table>
+
+
+</body>
+</html>