summaryrefslogtreecommitdiffstats
path: root/dom/xul/crashtests/428951-1.xul
blob: 024bc5d5cd1d15c50b907929b1f649ad6c29bbda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>