summaryrefslogtreecommitdiffstats
path: root/layout/mathml/crashtests/347355-1-inner.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/mathml/crashtests/347355-1-inner.xhtml')
-rw-r--r--layout/mathml/crashtests/347355-1-inner.xhtml28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/mathml/crashtests/347355-1-inner.xhtml b/layout/mathml/crashtests/347355-1-inner.xhtml
new file mode 100644
index 0000000000..9c0b46ff54
--- /dev/null
+++ b/layout/mathml/crashtests/347355-1-inner.xhtml
@@ -0,0 +1,28 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script>
+
+function foo()
+{
+ var mrow = document.getElementById("mrow")
+
+ mrow.parentNode.removeChild(mrow);
+}
+
+</script>
+</head>
+
+<body onload="setTimeout(foo, 100)">
+
+<div>
+<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
+ <mrow id="mrow">
+ <mtd><img xmlns="http://www.w3.org/1999/xhtml" src="347355-1.gif" /></mtd>
+ <mtable> <mtr> <mtd><mi>t</mi></mtd> </mtr> </mtable>
+ </mrow>
+</math>
+</div>
+
+</body>
+
+</html> \ No newline at end of file