Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"><script><![CDATA[ |
michael@0 | 2 | |
michael@0 | 3 | function init() |
michael@0 | 4 | { |
michael@0 | 5 | var div2 = document.getElementById("div2"); |
michael@0 | 6 | var div1 = document.getElementById("div1"); |
michael@0 | 7 | var docElt = document.documentElement; |
michael@0 | 8 | var titleText = document.createTextNode("foo baz"); |
michael@0 | 9 | |
michael@0 | 10 | docElt.appendChild(div2); |
michael@0 | 11 | div2.appendChild(titleText); |
michael@0 | 12 | |
michael@0 | 13 | function second () |
michael@0 | 14 | { |
michael@0 | 15 | div2.appendChild(div1); |
michael@0 | 16 | removeNode(titleText); |
michael@0 | 17 | removeNode(div2); |
michael@0 | 18 | document.documentElement.removeAttribute("class"); |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | setTimeout(second, 30); |
michael@0 | 22 | } |
michael@0 | 23 | |
michael@0 | 24 | |
michael@0 | 25 | function removeNode(q1) { q1.parentNode.removeChild(q1); } |
michael@0 | 26 | |
michael@0 | 27 | |
michael@0 | 28 | setTimeout(init, 30); |
michael@0 | 29 | |
michael@0 | 30 | |
michael@0 | 31 | ]]></script> |
michael@0 | 32 | |
michael@0 | 33 | <div xmlns='http://www.w3.org/1999/xhtml' id="div1"> |
michael@0 | 34 | |
michael@0 | 35 | <div id="div2">bar</div> |
michael@0 | 36 | </div> |
michael@0 | 37 | |
michael@0 | 38 | </svg> |