NEW 70185
SVG text selection doesn't extend as user expects outside of text elements
https://bugs.webkit.org/show_bug.cgi?id=70185
Summary SVG text selection doesn't extend as user expects outside of text elements
Ojan Vafai
Reported 2011-10-15 15:17:47 PDT
Not sure if this is properly an SVG bug or an editing bug. See the sample page. If you make a text selection, it disappears when your mouse is not directly over text (e.g. when it's between lines).
Attachments
Shinya Kawanaka
Comment 1 2012-10-17 23:45:48 PDT
The reason why this issue causes is that spaces between text is not on the text element, but on the its parent element (svg in this case?).
Ryosuke Niwa
Comment 2 2012-10-18 09:15:23 PDT
This appears to be a bug in SVG's hit testing code. (In reply to comment #1) > The reason why this issue causes is that spaces between text is not on the text element, but on the its parent element (svg in this case?). In HTML land, we "collapse" or "fold" points around line boxes (e.g. in padding, etc...) into line boxes to avoid this problem.
Ryosuke Niwa
Comment 3 2012-10-18 09:31:45 PDT
Note You need to log in before you can comment on or make changes to this bug.