Gisellameloni / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

Position translating of text is ignored by child tspan. #1187

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a text element which contains child tspan element. 
2. Both elements have "x" and "y" properties to change the position of the text 
nested by tspan.
3. Text nested by tspan only changes its position by the "x" and "y" properties 
of tspan element, same properties of the parental text element is ignored

What is the expected output? What do you see instead?
Text position should be translated by both tspan and parental text elements 
additively. 

In what browser did you experience this problem? (ALL, Firefox, Opera, etc)
Firefox

In what version of SVG-edit does the problem occur? (Latest trunk, 2.5.1,
etc)
2.6 demo

Please provide any additional information below.
"Translate" of "transform" property in text element is instantly removed upon 
saving SVG source code, but "skewX/Y", "rotate" and "scale" are not affected.

Original issue reported on code.google.com by ifurk...@gmail.com on 20 Feb 2014 at 3:51