layout/svg/crashtests/402408-1.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" 
     2      xmlns:xlink="http://www.w3.org/1999/xlink"
     3      onload="boom();"
     4     class="reftest-wait">
     6 <script>
     8 function boom()
     9 {
    10   var grad1 = document.getElementById("grad1");
    11   var grad2 = document.getElementById("grad2");
    13   grad1.appendChild(grad2);
    15   setTimeout(function() { 
    16     grad1.removeChild(grad2);
    17     document.documentElement.removeAttribute("class");
    18   }, 30);  
    19 }
    21 </script>
    23 <linearGradient id="grad1" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="0">
    24   <stop id="green"   stop-color="#00dd00"   offset="0"/>
    25   <stop id="blue"    stop-color="#0000dd"   offset="1"/>
    26 </linearGradient>
    28 <linearGradient id="grad2" xlink:href="#grad1"/>
    30 <rect x="20" y="20" width="440" height="80" fill="url(#grad2)" />
    32 </svg>

mercurial