summaryrefslogtreecommitdiff
path: root/tests/fixtures/text/bug806-text-anchor-chunk.svg
blob: b7a5cfe8ecb9a31d005ada95d3ebffb78d61a43e (plain)
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="100">
  <rect x="0" y="0" width="100%" height="100%" fill="white"/>
  <line x1="300" y1="0" x2="300" y2="100" stroke-width="2" stroke="blue"/>
  <line x1="0" y1="50" x2="600" y2="50" stroke-width="2" stroke="blue"/>

  <text text-anchor="end" transform="translate(300, 50)"
        font-family="Ahem" font-size="20"
        dx="-20" dy="-20">ABCD<tspan dx="-40" dy="1em">AB</tspan></text>
</svg>