1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/svg/crashtests/310436-1.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"><script><![CDATA[ 1.5 + 1.6 +function init() { 1.7 + var docElt = document.documentElement; 1.8 + var div1 = document.getElementById("div1"); 1.9 + var div2 = document.getElementById("div2"); 1.10 + var textNode = div2.childNodes[0]; 1.11 + 1.12 + function first() 1.13 + { 1.14 + docElt.appendChild(div2); 1.15 + div2.appendChild(div1); 1.16 + } 1.17 + 1.18 + function second() 1.19 + { 1.20 + div2.appendChild(div1); 1.21 + div1.appendChild(textNode); 1.22 + document.documentElement.removeAttribute("class"); 1.23 + } 1.24 + 1.25 + first(); 1.26 + setTimeout(second, 30); 1.27 +} 1.28 + 1.29 +window.addEventListener("load", init, false); 1.30 + 1.31 +]]></script><div xmlns="http://www.w3.org/1999/xhtml" id="div1"><div id="div2">A Z</div></div></svg>