My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 304: tspan-tag ignores coordinates of upper text-tag
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  grick23
Closed:  Sep 18
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by Martin.H1983, Sep 17, 2009
tspan-tag ignores coordinates of upper text-tag

What steps will reproduce the problem?
Use a <tspan> Tag without coordinates inside of a <text> Tag.
The coordinates of the text-tag are ignored.
tspan-tags with coordinates work correctly.

What is the expected output? What do you see instead?
Please see the example-picture. It compares the output of Firefox und svgweb.
related svg-Code:

<?xml version="1.0"?>

<svg version="1.1"
	xmlns="http://www.w3.org/2000/svg"
	xmlns:xlink="http://www.w3.org/1999/xlink"
    style="background-color: #FFFFFF;">
	
 <rect x="90" y="90" height="71" width="111" fill="#0000ff"
style="stroke-width:2;stroke:#000000" rx="18.5" ry="13.1666666666667"/>


 <text x="144" y="124" font-family="Arial Black" font-size="18px"
text-anchor="middle" 
  font-style="normal" font-weight="bold" text-decoration="none">
  
<tspan> Text12 </tspan>
<tspan  x="144" y="143" > Text34 </tspan> 

</text>

</svg>



What version of the product are you using? On what operating system,
browser, and version of Flash?

svgweb 2009-09-16-Umberhulk
Flash Player 10,0,32,18
Windows XP SP2
Mozilla Firefox 3.5, error also occurs with Internet Explorer 6, Opera 10


tspanbug.jpg
12.2 KB   View   Download
Comment 1 by Martin.H1983, Sep 17, 2009
Addition:
With svgweb version 2009-08-20 tspan-tags without coordinates work correctly, but
with coordinates don't.
Comment 2 by grick23, Sep 18, 2009
Fixed in r873. Thanks for the report.
Status: Fixed
Owner: grick23
Sign in to add a comment

Hosted by Google Code