Closed
Bug 1116477
Opened 11 years ago
Closed 11 years ago
We should insert spaces when copying text in different nodes
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: julienw, Unassigned)
Details
STR:
1. open https://wiki.mozilla.org/images/2/29/Sms-bug-handling-flow.svg
2. copy a multiline text
3. paste in a text editor
Expected:
* I get either new lines or spaces between words
Actual:
* I get no separator at all when I have a line break
I generated this SVG using LibreOffice Draw. I understand this could also be a bug in LibreOffice Draw and that the SVG looks quite dirty by some standards. Still, can't we do something in Firefox?
(note: Chromium seems to have the same behavior)
Comment 1•11 years ago
|
||
You get no spaces because there are no spaces in the source. It's just broken by changing the x,y position of the text elements. This needs to be fixed in LibreOffice Draw.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Comment 2•11 years ago
|
||
If the text was <text><tspan>H</tspan><tspan>i</tspan></text> and the markup used the tspan to colour each letter in a different colour then adding our own spaces would be wrong.
You need to log in
before you can comment on or make changes to this bug.
Description
•