layout/svg/crashtests/310638.svg

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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[
     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");
    13   docElt.appendChild(div2);
    14   div2.appendChild(titleText);
    16   function second () 
    17   {
    18     div2.appendChild(div1);
    19     removeNode(titleText);
    20     removeNode(div2);
    21   }
    23   setTimeout(second, 0);
    24 }
    27 function removeNode(q1) { q1.parentNode.removeChild(q1); }
    30 setTimeout(init, 0);
    33 ]]></script>
    36 </svg>

mercurial