4xx / svg-edit

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

Moving tspans incorrectly #1152

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In svg-edit, open a file that contains a tspan element that does not have x 
and y attributes.  (See attachment for an example.)
2. Move the text in the tspan element by dragging with the mouse.

What is the expected output? What do you see instead?

On mouseup, the text should be moved to the location under the mouse pointer.  
Instead, the text jumps to a position roughly in the top left corner (adjusted 
by the distance the mouse moved while dragging).

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

Tested in Firefox and Chrome.

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

Latest trunk (r2601).

Please provide any additional information below.

This appears to be related to issue 1053 - however, that issue applies to tspan 
elements that do have x and y attributes, while this issue applies to tspan 
attributes that do not have x and y attributes.

See also issue 797 (it appears to be the same as issue 1053?).

Original issue reported on code.google.com by e...@siliconforks.com on 21 Oct 2013 at 11:03

Attachments: