1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/text-gradient-02.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 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"> 1.9 + 1.10 +<title>Testcase for gradient on text</title> 1.11 + 1.12 +<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=577850 --> 1.13 + 1.14 + <defs> 1.15 + <linearGradient id="gradient" x1="0" x2="0" y1="0" y2="1"> 1.16 + <stop offset="0.00" stop-color="rgb(0, 0, 0)"/> 1.17 + <stop offset="0.50" stop-color="rgb(255, 255, 255)"/> 1.18 + <stop offset="1.00" stop-color="rgb(0, 0, 0)"/> 1.19 + </linearGradient> 1.20 + </defs> 1.21 + 1.22 + <text fill="url(#gradient)" font-size="60" transform="translate(50, 80)"> 1.23 + <tspan x="0, 30, 60" y="0" >Foo</tspan> 1.24 + <tspan x="0, 40, 70" dy="1em">Bar</tspan> 1.25 + </text> 1.26 +</svg>