layout/svg/crashtests/310638.svg

branch
TOR_BUG_9701
changeset 11
deefc01c0e14
equal deleted inserted replaced
-1:000000000000 0:af57f02cc82d
1 <svg xmlns="http://www.w3.org/2000/svg"><div xmlns='http://www.w3.org/1999/xhtml' id="div1">
2 <div id="div2">bar</div>
3 </div>
4 <script><![CDATA[
5
6 function init()
7 {
8 var div2 = document.getElementById("div2");
9 var div1 = document.getElementById("div1");
10 var docElt = document.documentElement;
11 var titleText = document.createTextNode("foo baz");
12
13 docElt.appendChild(div2);
14 div2.appendChild(titleText);
15
16 function second ()
17 {
18 div2.appendChild(div1);
19 removeNode(titleText);
20 removeNode(div2);
21 }
22
23 setTimeout(second, 0);
24 }
25
26
27 function removeNode(q1) { q1.parentNode.removeChild(q1); }
28
29
30 setTimeout(init, 0);
31
32
33 ]]></script>
34
35
36 </svg>

mercurial