summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/401589-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/401589-1.xul')
-rw-r--r--layout/base/crashtests/401589-1.xul29
1 files changed, 29 insertions, 0 deletions
diff --git a/layout/base/crashtests/401589-1.xul b/layout/base/crashtests/401589-1.xul
new file mode 100644
index 000000000..5d815c2cb
--- /dev/null
+++ b/layout/base/crashtests/401589-1.xul
@@ -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>