summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/textPath-06.svg
blob: 1cff33a780468b991e4eaa57755729b34acd9afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<svg xmlns="http://www.w3.org/2000/svg">
  <defs>
    <path id="path" d="" />
  </defs>

  <rect fill="lime" width="100%" height="100%"/>

  <text y="50" font-size="50" fill="red" >
    <textPath path="">Empty paths should be invisible</textPath>
  </text>

  <text y="100" font-size="50" fill="red" >
    <textPath href="#path">Empty paths should be invisible</textPath>
  </text>

  <text y="150" font-size="50" fill="red" >
    <textPath>No path at all should be invisible too</textPath>
  </text>
</svg>