layout/reftests/svg/text/textLength-4-ref.svg

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <svg xmlns="http://www.w3.org/2000/svg">
     2   <style>
     3     @font-face {
     4       font-family: Linux Libertine;
     5       src: url(../../fonts/LinLibertine_Re-4.7.5.woff);
     6     }
     7   </style>
     8   <!-- the unscaled width of the "123" is 66 -->
     9   <linearGradient id="g1" x1="0" y1="0" x2="66" y2="0" gradientUnits="userSpaceOnUse">
    10     <stop stop-color="red"/>
    11     <stop offset="0.333333" stop-color="red"/>
    12     <stop offset="0.333333" stop-color="yellow"/>
    13     <stop offset="0.666666" stop-color="yellow"/>
    14     <stop offset="0.666666" stop-color="red"/>
    15     <stop offset="1" stop-color="red"/>
    16   </linearGradient>
    17   <linearGradient id="g2" x1="100" y1="0" x2="232" y2="0" gradientUnits="userSpaceOnUse">
    18     <stop stop-color="red"/>
    19     <stop offset="0.333333" stop-color="red"/>
    20     <stop offset="0.333333" stop-color="yellow"/>
    21     <stop offset="0.666666" stop-color="yellow"/>
    22     <stop offset="0.666666" stop-color="red"/>
    23     <stop offset="1" stop-color="red"/>
    24   </linearGradient>
    25   <text transform="scale(2,1)translate(50,0)" y="100" style="font: 50px Linux Libertine; text-rendering: geometricPrecision; fill: url(#g1)">123</text>
    26   <text transform="scale(2,1)translate(50,0)" y="100" style="font: 50px Linux Libertine; text-rendering: geometricPrecision; fill: none; stroke: black; stroke-width: 2px">123</text>
    27   <rect x="100" y="110" width="132" height="10" fill="url(#g2)"/>
    28 </svg>

mercurial