1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/svg/crashtests/310638.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +<svg xmlns="http://www.w3.org/2000/svg"><div xmlns='http://www.w3.org/1999/xhtml' id="div1"> 1.5 +<div id="div2">bar</div> 1.6 +</div> 1.7 +<script><![CDATA[ 1.8 + 1.9 +function init() 1.10 +{ 1.11 + var div2 = document.getElementById("div2"); 1.12 + var div1 = document.getElementById("div1"); 1.13 + var docElt = document.documentElement; 1.14 + var titleText = document.createTextNode("foo baz"); 1.15 + 1.16 + docElt.appendChild(div2); 1.17 div2.appendChild(titleText); 1.18 + 1.19 + function second () 1.20 + { 1.21 + div2.appendChild(div1); 1.22 + removeNode(titleText); 1.23 + removeNode(div2); 1.24 + } 1.25 + 1.26 + setTimeout(second, 0); 1.27 +} 1.28 + 1.29 + 1.30 +function removeNode(q1) { q1.parentNode.removeChild(q1); } 1.31 + 1.32 + 1.33 +setTimeout(init, 0); 1.34 + 1.35 + 1.36 +]]></script> 1.37 + 1.38 + 1.39 +</svg> 1.40 \ No newline at end of file