layout/reftests/text-svgglyphs/svg-glyph-objectgradient-zoom.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text-svgglyphs/svg-glyph-objectgradient-zoom.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg" reftest-zoom="0.5">
     1.5 +  <!--
     1.6 +        Test that gradients are inherited from the outer object under zoom
     1.7 +  -->
     1.8 +
     1.9 +  <style type="text/css"><![CDATA[
    1.10 +    @font-face {
    1.11 +      font-family: "Liberation";
    1.12 +      src:url("resources/svg.woff") format("woff");
    1.13 +    }
    1.14 +
    1.15 +    text {
    1.16 +      font-family: "Liberation";
    1.17 +      font-size: 200px;
    1.18 +      stroke-width: 5;
    1.19 +    }
    1.20 +  ]]></style>
    1.21 +
    1.22 +  <defs>
    1.23 +    <linearGradient id="grad" x1="0" y1="0" x2="800" y2="800" gradientUnits="userSpaceOnUse">
    1.24 +      <stop stop-color="purple" offset="0%" />
    1.25 +      <stop stop-color="lime" offset="100%" />
    1.26 +    </linearGradient>
    1.27 +    <radialGradient id="grad2" cx="250" cy="400" r="400" gradientUnits="userSpaceOnUse">
    1.28 +      <stop stop-color="red" offset="0%" />
    1.29 +      <stop stop-color="blue" offset="100%" />
    1.30 +    </radialGradient>
    1.31 +
    1.32 +  </defs>
    1.33 +
    1.34 +  <text x="0" y="200" fill="url(#grad)" stroke="url(#grad2)">N</text>
    1.35 +  <text x="300" y="200" fill="url(#grad)" stroke="url(#grad2)">O</text>
    1.36 +  <text x="0" y="500" fill="url(#grad)" stroke="url(#grad2)">P</text>
    1.37 +  <text x="300" y="500" fill="url(#grad)" stroke="url(#grad2)">Q</text>
    1.38 +</svg>

mercurial