layout/svg/crashtests/369233-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/svg/crashtests/369233-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg" 
     1.5 +     xmlns:html="http://www.w3.org/1999/xhtml" 
     1.6 +     onload="setTimeout(boom, 200);"
     1.7 +     class="reftest-wait">
     1.8 +
     1.9 +<html:script>
    1.10 +
    1.11 +function boom()
    1.12 +{
    1.13 +  try {
    1.14 +    document.getElementById("grad2").gradientUnits.baseVal = "y";
    1.15 +  } catch (e) {
    1.16 +  }
    1.17 +  
    1.18 +  document.documentElement.removeAttribute("class");
    1.19 +}
    1.20 +
    1.21 +</html:script>
    1.22 +
    1.23 +
    1.24 +
    1.25 +<radialGradient id="grad2" gradientUnits="userSpaceOnUse" cx="240" cy="210" r="220" fx="240" fy="210">
    1.26 +  <stop stop-color="black"  offset="0"/>
    1.27 +  <stop stop-color="yellow"  offset="0.2"/>
    1.28 +  <stop stop-color="red"  offset="0.4"/>
    1.29 +  <stop stop-color="blue"  offset="0.6"/>
    1.30 +  <stop stop-color="white"  offset="0.8"/>
    1.31 +  <stop stop-color="green"  offset="1"/>
    1.32 +</radialGradient>
    1.33 +
    1.34 +<rect x="20" y="150" width="440" height="80" fill="url(#grad2)" stroke-width="40"/>
    1.35 +
    1.36 +</svg>

mercurial