Page MenuHomePhabricator

priority_and_tspan_bug.svg

Authored By
bzimport
Nov 22 2014, 3:23 AM
Size
1 KB
Referenced Files
None
Subscribers
None

priority_and_tspan_bug.svg

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="300" viewBox="0 -50 800 300">
<style type="text/css">
.red {fill:red;font-size:17px;font-family:Liberation Sans}
.small {font-size:9px;}
tspan {fill:green;font-weight:bold;font-size:12px;}
</style>
<text x="25" y="60">
<tspan>text example with tspan (out of group)</tspan><tspan class="small">- it seems the tspan child element is ignored because of omitted coords</tspan>
<tspan x="30" dy="15" class="small"> and this text should be the same color</tspan>
</text>
<text class="red" x="25" y="90">
<tspan>text class example with tspan (out of group)</tspan><tspan class="small">- it seems the tspan child element is ignored because of omitted coords</tspan><tspan x="30" dy="15" class="small"> and this text should be the same color</tspan></text>
<g class="red">
<text>normal text example without tspan - this should be red - all other text <tspan>green!</tspan></text>
<text x="25" y="130">
<tspan>Block signal</tspan>
<tspan x="250" y="45" class="red" style="text-anchor:middle;"><tspan>Signal block</tspan></tspan>
</text>
</g>
</svg>

File Metadata

Mime Type
text/html
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13452
Default Alt Text
priority_and_tspan_bug.svg (1 KB)

Event Timeline