layout/reftests/svg/text-gradient-03.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/text-gradient-03.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
     1.9 +
    1.10 +  <title>Testcase for gradient on text</title>
    1.11 +
    1.12 +  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=611975 -->
    1.13 +  <defs>
    1.14 +    <linearGradient id="grad" x1="0" y1="-0.1" x2="0" y2="1" gradientUnits="objectBoundingBox">
    1.15 +      <stop stop-color="red" offset="-10%"/>
    1.16 +      <stop stop-color="lime" offset="0%"/>
    1.17 +    </linearGradient>
    1.18 +  </defs>
    1.19 +
    1.20 +  <g fill="lime">
    1.21 +    <rect width="100%" height="100%"/>
    1.22 +    <text x="100" y="100" stroke-width="5" stroke="url(#grad)" font-size="80px">SHOULD NOT SEE THIS</text>
    1.23 +  </g>
    1.24 +
    1.25 +</svg>

mercurial