1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/xul/document/crashtests/428951-1.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:mathml="http://www.w3.org/1998/Math/MathML"> 1.5 +<box> 1.6 + <box style="background: initial;" id="f"> 1.7 + <box style="margin-top: -9999999px;"/> 1.8 + </box> 1.9 + <mathml:divergence> 1.10 + <box/> 1.11 + </mathml:divergence> 1.12 + <mathml:moment command="f"/> 1.13 +</box> 1.14 + 1.15 +<script id="script" xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ 1.16 +function init() { 1.17 + var f = document.getElementsByTagName('mathml:divergence')[0]; 1.18 + window.addEventListener('DOMAttrModified',function() { f.parentNode.removeChild(f);}, true); 1.19 + var x=document.getElementsByTagName('mathml:moment')[0]; 1.20 + x.parentNode.removeChild(x); 1.21 +} 1.22 +window.addEventListener("load", init, false); 1.23 +]]></script> 1.24 +</window>