layout/reftests/svg/dynamic-text-04-ref.svg

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
     3   <title>Reference for dynamic changes of rotate attributes</title>
     5   <!-- based on http://www.w3.org/TR/SVG/images/text/tspan05.svg -->
     7   <text id="parent" font-size="32" x="40" y="40" rotate="5,15,25,35,45,55">
     8     Not
    10     <tspan id="child1" rotate="-10,-20,-30,-40">
    11       all characters
    13       <tspan id="child2" rotate="70,60,50,40,30,20,10">
    14         in
    16         <tspan id="child3">
    17           the
    18         </tspan>
    19       </tspan>
    21       <tspan x="40" y="90" id="child4">
    22         text
    23       </tspan>
    25       have a
    26     </tspan>
    28     <tspan id="child5" rotate="-10">
    29       specified
    30     </tspan>
    32     rotation
    33   </text>
    34 </svg>

mercurial