rebootcode / svg-edit

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

textedit branch - incorrect tspans reneding in chrome #982

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. write some multiline text using chrome browser (text renders inline instead 
of multiline)
2. open source editor click "apply changes" (text renders correctly)
3. edit text again (text moves into one line)

What is the expected output? What do you see instead?
- Text should display multiline also while typing.

In what browser did you experience this problem?
- Chrome

In what version of SVG-edit does the problem occur?
- branch textedit

In firefox this works great, but problem is in Chorme.

Any idea how to fix this issue?

Thanks,

Maciej

Original issue reported on code.google.com by maciej.g...@gmail.com on 29 Jun 2012 at 11:43

GoogleCodeExporter commented 9 years ago
Any updates on this?

Original comment by Michael....@gmail.com on 12 Sep 2012 at 4:05

GoogleCodeExporter commented 9 years ago
For me bug happens only in Chrome < 20.
In version 20 and above is OK.
To solve this just remove and add again <text> element to the DOM.
It will rerender it correctly.

Original comment by maciej.g...@gmail.com on 13 Sep 2012 at 10:26