layout/reftests/svg/text-scale-02.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.

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 4 -->
michael@0 5 <svg xmlns="http://www.w3.org/2000/svg">
michael@0 6 <style>
michael@0 7 @font-face {
michael@0 8 font-family: Ahem;
michael@0 9 src: url(../fonts/Ahem.ttf);
michael@0 10 }
michael@0 11 </style>
michael@0 12 <linearGradient id="g" gradientUnits="userSpaceOnUse" x1="100" y1="100" x2="500" y2="500">
michael@0 13 <stop stop-color="red"/>
michael@0 14 <stop stop-color="yellow" offset="1"/>
michael@0 15 </linearGradient>
michael@0 16 <text x="100" y="420" style="font: 400px Ahem; fill: url(#g)">a</text>
michael@0 17 </svg>

mercurial