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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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" xmlns:xlink="http://www.w3.org/1999/xlink">
     7   <title>Testcase for gradient on text</title>
     9   <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=611975 -->
    10   <defs>
    11     <linearGradient id="grad" x1="0" y1="-0.1" x2="0" y2="1" gradientUnits="objectBoundingBox">
    12       <stop stop-color="red" offset="-10%"/>
    13       <stop stop-color="lime" offset="0%"/>
    14     </linearGradient>
    15   </defs>
    17   <g fill="lime">
    18     <rect width="100%" height="100%"/>
    19     <text x="100" y="100" stroke-width="5" stroke="url(#grad)" font-size="80px">SHOULD NOT SEE THIS</text>
    20   </g>
    22 </svg>

mercurial