dom/smil/crashtests/541297-1.svg

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <svg xmlns="http://www.w3.org/2000/svg"><svg id="w"><animate/></svg><script type="text/javascript">
     3 <![CDATA[
     5 function boom()
     6 {
     7   anim = document.createElementNS("http://www.w3.org/2000/svg", "animate");
     8   document.documentElement.appendChild(anim);
     9   document.documentElement.removeChild(anim);
    11   setTimeout(t, 0);
    13   function t()
    14   {
    15     document.getElementById("w").appendChild(anim);
    16   }
    17 }
    19 window.addEventListener("load", boom, false);
    21 ]]>
    22 </script></svg>

mercurial