Debian Codegraph @

rsvg/tests/fixtures/reftests/bugs/bug642-nested-tspan-dx-dy.svg

raw symbols SCIP
1 <svg width="500" height="500" xmlns="http://www.w3.org/2000/svg" version="1.1">
2 <rect x="0" y="0" width="500" height="500" fill="white"/>
3
4 <!-- with buggy #642 these will overlap -->
5 <text x="100" y="100" fill="black" style="font-family: sans-serif; font-size: 20px;">
6 <tspan x="100" y="100" dy="0"><tspan>one</tspan></tspan>
7 <tspan x="100" y="100" dy="20"><tspan>two</tspan></tspan>
8 <tspan x="100" y="100" dy="40"><tspan>three</tspan></tspan>
9 </text>
10
11 <!-- but these won't, note the whitespace inside the outermost tspans -->
12 <text x="100" y="200" fill="black" style="font-family: sans-serif; font-size: 20px;">
13 <tspan x="100" y="200" dy="0"> <tspan>one</tspan></tspan>
14 <tspan x="100" y="200" dy="20"> <tspan>two</tspan></tspan>
15 <tspan x="100" y="200" dy="40"> <tspan>three</tspan></tspan>
16 </text>
17 </svg>