layout/base/crashtests/310638-1.svg

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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>

mercurial