summaryrefslogtreecommitdiffstats
path: root/dom/xul/crashtests/428951-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xul/crashtests/428951-1.xul')
-rw-r--r--dom/xul/crashtests/428951-1.xul21
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/xul/crashtests/428951-1.xul b/dom/xul/crashtests/428951-1.xul
new file mode 100644
index 000000000..024bc5d5c
--- /dev/null
+++ b/dom/xul/crashtests/428951-1.xul
@@ -0,0 +1,21 @@
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:mathml="http://www.w3.org/1998/Math/MathML">
+<box>
+ <box style="background: initial;" id="f">
+ <box style="margin-top: -9999999px;"/>
+ </box>
+ <mathml:divergence>
+ <box/>
+ </mathml:divergence>
+ <mathml:moment command="f"/>
+</box>
+
+<script id="script" xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
+function init() {
+ var f = document.getElementsByTagName('mathml:divergence')[0];
+ window.addEventListener('DOMAttrModified',function() { f.parentNode.removeChild(f);}, true);
+ var x=document.getElementsByTagName('mathml:moment')[0];
+ x.parentNode.removeChild(x);
+}
+window.addEventListener("load", init, false);
+]]></script>
+</window>