summaryrefslogtreecommitdiffstats
path: root/layout/mathml/crashtests/413063-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/mathml/crashtests/413063-1.xhtml')
-rw-r--r--layout/mathml/crashtests/413063-1.xhtml21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/mathml/crashtests/413063-1.xhtml b/layout/mathml/crashtests/413063-1.xhtml
new file mode 100644
index 000000000..425db9a81
--- /dev/null
+++ b/layout/mathml/crashtests/413063-1.xhtml
@@ -0,0 +1,21 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML">
+<head>
+<script type="text/javascript">
+
+function boom()
+{
+ var mtd = document.getElementById("mtd");
+ var ns = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
+ var nt = document.createTextNode("foo");
+ ns.appendChild(nt);
+ mtd.appendChild(ns);
+ mtd.setAttribute("rowspan", "0");
+}
+
+
+</script>
+</head>
+
+<body onload="boom();"><m:mtd id="mtd" style="display: table-footer-group"><m:mi /></m:mtd></body>
+
+</html>