summaryrefslogtreecommitdiff
path: root/layout/mathml/crashtests/431072-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/mathml/crashtests/431072-1.xhtml')
-rw-r--r--layout/mathml/crashtests/431072-1.xhtml25
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/mathml/crashtests/431072-1.xhtml b/layout/mathml/crashtests/431072-1.xhtml
new file mode 100644
index 0000000000..f25ce28f14
--- /dev/null
+++ b/layout/mathml/crashtests/431072-1.xhtml
@@ -0,0 +1,25 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+
+<script type="text/javascript">
+
+function boom()
+{
+ document.getElementById("math").setAttribute("class", "li");
+ document.documentElement.offsetHeight;
+ document.documentElement.appendChild(document.createTextNode("\n"));
+}
+
+</script>
+
+<style type="text/css">
+
+[class="li"] { display: list-item; }
+
+</style>
+
+</head>
+
+<body onload="boom();"><math xmlns="http://www.w3.org/1998/Math/MathML" id="math"/></body>
+
+</html>