layout/reftests/svg/text/textLength-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 { font-family: Linux Libertine; src: url(../../fonts/LinLibertine_Re-4.7.5.woff); }
     4     svg { font: 50px Linux Libertine; text-rendering: geometricPrecision; }
     5   </style>
     6   <!-- the unscaled width of the "123" is 66 -->
     7   <g transform="translate(50,0)">
     8     <g stroke="red">
     9       <path d="M 0,40 h 66"/>
    10       <path d="M 0,80 h 132"/>
    11       <path d="M 0,120 h 132"/>
    12       <path d="M 0,160 h 44"/>
    13       <path d="M 0,200 h 44"/>
    14     </g>
    16     <g fill="aqua">
    17       <text y="40">123</text>
    18       <text y="80">1</text>
    19       <text x="66" y="80" text-anchor="middle">2</text>
    20       <text x="132" y="80" text-anchor="end">3</text>
    21       <text transform="scale(2,1)" y="120">123</text>
    22       <text y="160">1</text>
    23       <text x="22" y="160" text-anchor="middle">2</text>
    24       <text x="44" y="160" text-anchor="end">3</text>
    25       <text transform="scale(0.6666666666,1)" y="200">123</text>
    26     </g>
    28     <g fill="none" stroke="black" stroke-width="2px">
    29       <text y="40">123</text>
    30       <text y="80">1</text>
    31       <text x="66" y="80" text-anchor="middle">2</text>
    32       <text x="132" y="80" text-anchor="end">3</text>
    33       <text transform="scale(2,1)" y="120">123</text>
    34       <text y="160">1</text>
    35       <text x="22" y="160" text-anchor="middle">2</text>
    36       <text x="44" y="160" text-anchor="end">3</text>
    37       <text transform="scale(0.6666666666,1)" y="200">123</text>
    38     </g>
    39   </g>
    40 </svg>

mercurial