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

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <svg xmlns="http://www.w3.org/2000/svg">
     7 <title>Testcase for gradient on text</title>
     9 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=424586 -->
    11     <defs>
    12       <linearGradient id="grad" x1="0.0" y1="0.0" x2="1.0" y2="0.0">
    13         <stop stop-color="green" offset="0.0"/>
    14         <stop stop-color="blue" offset="1.0"/>
    15       </linearGradient>
    16     </defs>
    17     <!-- check the gradient moves with the transform -->
    18     <g transform="translate(100,100)">
    19       <text font-size="3.5em" fill="url(#grad)">PASS</text>
    20     </g>
    21 </svg>

mercurial