WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
37435
First and last words of editable span cannot be selected by double-clicking
https://bugs.webkit.org/show_bug.cgi?id=37435
Summary
First and last words of editable span cannot be selected by double-clicking
Nate Whetsell
Reported
2010-04-11 22:11:51 PDT
Created
attachment 53147
[details]
Test document Attached is a test HTML document, the body of which consists of an editable span. This span contains the text "111 222 333 444". In Safari version 4.0.5 (6531.22.7,
r57458
) (533.5+), 222 and 333 can be selected by double-clicking on them. Double-clicking on 111 places the text insertion cursor after the last "1", but does not select any text. Double-clicking on 444 places the text insertion cursor before the first "4", but also does not select any text. 111 and 444 may be selected by other means, however, for example by click-and-dragging or by holding down Shift and using arrow keys. If whitespace is added before the first "1", 111 becomes selectable by double-clicking. However, if whitespace is added after the last "4", 444 *does not* become selectable. If any text at all is added after the last "4", 444 becomes selectable. This bug appears to be related to both
bug #36359
and
bug #36360
. The main difference with this issue is that the attached example shows slightly different behavior in the first and last elements in a span. This issue does not appear to be present in Firefox 3.6.3.
Attachments
Test document
(221 bytes, text/html)
2010-04-11 22:11 PDT
,
Nate Whetsell
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Nate Whetsell
Comment 1
2010-08-14 08:06:56 PDT
Fixed in
r65052
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug