summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/401589-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/base/crashtests/401589-1.xhtml29
1 files changed, 29 insertions, 0 deletions
diff --git a/layout/base/crashtests/401589-1.xhtml b/layout/base/crashtests/401589-1.xhtml
new file mode 100644
index 0000000000..5d815c2cb0
--- /dev/null
+++ b/layout/base/crashtests/401589-1.xhtml
@@ -0,0 +1,29 @@
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ xmlns:math="http://www.w3.org/1998/Math/MathML"
+ class="reftest-wait"
+ onload="boom();">
+
+<html:style type="text/css">
+[class="mp"] { display: -moz-popup; }
+</html:style>
+
+<script>
+
+function boom()
+{
+ document.getElementById("mtd").setAttribute("class", "mp");
+ setTimeout(boom2, 30);
+}
+
+function boom2()
+{
+ document.getElementById("mtd").setAttribute("class", "");
+ document.documentElement.removeAttribute("class");
+}
+
+</script>
+
+<math:mtd id="mtd" />
+
+</window>