layout/reftests/svg/textPath-03.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/textPath-03.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
     1.9 +  <title>Test effect on startOffset in em units</title>
    1.10 +
    1.11 +  <defs>
    1.12 +    <path id="p" d="M100,100 h200" stroke="red"/>
    1.13 +  </defs>
    1.14 +
    1.15 +  <rect width="100%" height="100%" fill="lime"/>
    1.16 +
    1.17 +  <text font-size="50" fill="red">
    1.18 +      <textPath xlink:href="#p" startOffset="2em">abc</textPath>
    1.19 +  </text>
    1.20 +  <text x="100" y="100" dx="2em" font-size="50" stroke-width="4" fill="lime" stroke="lime">abc</text>
    1.21 +</svg>

mercurial