layout/svg/crashtests/361015-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/svg/crashtests/361015-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 +     class="reftest-wait"
     1.7 +     onload="setTimeout(boom, 30)">
     1.8 +
     1.9 +<html:script>
    1.10 +<![CDATA[
    1.11 +
    1.12 +function boom()
    1.13 +{
    1.14 +  var grad = document.getElementById("grad");
    1.15 +  var g = document.getElementById("g");
    1.16 +  grad.appendChild(g);
    1.17 +  g.removeAttribute("transform");
    1.18 +  document.documentElement.removeAttribute("class");
    1.19 +}
    1.20 +
    1.21 +]]>
    1.22 +</html:script>
    1.23 +
    1.24 +
    1.25 +  <g id="g" transform="translate(500,0)">
    1.26 +    <text x="25" y="85">Foo</text>
    1.27 +  </g>
    1.28 +
    1.29 +
    1.30 +  <linearGradient id="grad" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="1">
    1.31 +    <stop stop-color="blue" offset="0.2"/>
    1.32 +    <stop stop-color="lime" offset="0.4"/>
    1.33 +  </linearGradient>
    1.34 +
    1.35 +
    1.36 +</svg>

mercurial