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