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

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <svg xmlns="http://www.w3.org/2000/svg" reftest-zoom="0.5">
     2   <!--
     3         Test that gradients are inherited from the outer object under zoom
     4   -->
     6   <style type="text/css"><![CDATA[
     7     @font-face {
     8       font-family: "Liberation";
     9       src:url("resources/svg.woff") format("woff");
    10     }
    12     text {
    13       font-family: "Liberation";
    14       font-size: 200px;
    15       stroke-width: 5;
    16     }
    17   ]]></style>
    19   <defs>
    20     <linearGradient id="grad" x1="0" y1="0" x2="800" y2="800" gradientUnits="userSpaceOnUse">
    21       <stop stop-color="purple" offset="0%" />
    22       <stop stop-color="lime" offset="100%" />
    23     </linearGradient>
    24     <radialGradient id="grad2" cx="250" cy="400" r="400" gradientUnits="userSpaceOnUse">
    25       <stop stop-color="red" offset="0%" />
    26       <stop stop-color="blue" offset="100%" />
    27     </radialGradient>
    29   </defs>
    31   <text x="0" y="200" fill="url(#grad)" stroke="url(#grad2)">N</text>
    32   <text x="300" y="200" fill="url(#grad)" stroke="url(#grad2)">O</text>
    33   <text x="0" y="500" fill="url(#grad)" stroke="url(#grad2)">P</text>
    34   <text x="300" y="500" fill="url(#grad)" stroke="url(#grad2)">Q</text>
    35 </svg>

mercurial