layout/reftests/svg/textPath-03.svg

branch
TOR_BUG_9701
changeset 14
925c144e1f1f
equal deleted inserted replaced
-1:000000000000 0:bcdf0c595568
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
6 <title>Test effect on startOffset in em units</title>
7
8 <defs>
9 <path id="p" d="M100,100 h200" stroke="red"/>
10 </defs>
11
12 <rect width="100%" height="100%" fill="lime"/>
13
14 <text font-size="50" fill="red">
15 <textPath xlink:href="#p" startOffset="2em">abc</textPath>
16 </text>
17 <text x="100" y="100" dx="2em" font-size="50" stroke-width="4" fill="lime" stroke="lime">abc</text>
18 </svg>

mercurial