Closed
Bug 346694
Opened 18 years ago
Closed 18 years ago
getComputedTextLength() ingnores space as last character
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 319786
People
(Reporter: holger, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
application/xml
|
Details |
if the last character of a text is a space character, it gets ignored by getCoputedTextLength()
Reporter | ||
Comment 1•18 years ago
|
||
open the file and click in the textbox, then enter a space followed by any character, see what happens with the text cursor while doing so.
Comment 2•18 years ago
|
||
Actually we just don't handle xml:space="preserve" so terminal spaces are compressed to nothing.
*** This bug has been marked as a duplicate of 319786 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•18 years ago
|
||
no, its not the xml:space bug, as you can see if you enter one space, its still part of the string, if you enter one character after the space, the curser jumps two character forward, and the space is there, i think xml:space is just for collapsing or not collapsing multible spaces to just one space. its not general string normalization.
the xml:space is another bug with this textbox, but you can delete it from the file and the bug stays the same.
do you mind if i reopen the bug ?
Reporter | ||
Comment 4•18 years ago
|
||
oh, forget what i just posted,i just read up on xml:space , you are in fact right,
this is the same as the xml:space bug, sorry !
You need to log in
before you can comment on or make changes to this bug.
Description
•