WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
3489
WebView's setSelectedDOMRange doesn't not implement clearing selection
https://bugs.webkit.org/show_bug.cgi?id=3489
Summary
WebView's setSelectedDOMRange doesn't not implement clearing selection
Sarwat Khan
Reported
2005-06-12 18:47:22 PDT
The documentation describes setSelectedDOMRange:affinity: with the following, WebKit/ObjC_classic/Classes/WebView.html: Selects the range specified by range in the receiver. If range is nil, clears the selection. However, the method is implemented with this line, [[[range startContainer] _bridge] setSelectedDOMRange:range affinity:selectionAffinity closeTyping:YES]; Where 'range' is the given parameter. If 'range' is nil, this line is a no-op.
Attachments
Call deselectText if range is nil
(1.85 KB, patch)
2005-06-25 01:45 PDT
,
Anders Carlsson
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2005-06-19 12:50:30 PDT
See WebKit/WebView.subproj/WebView.m revision 1.287 line 2770 for the actual implementation. Either the documentation needs to be updated, or the method needs to be fixed to adhere to the documentation.
Anders Carlsson
Comment 2
2005-06-25 01:45:47 PDT
Created
attachment 2638
[details]
Call deselectText if range is nil
Darin Adler
Comment 3
2005-06-26 16:48:56 PDT
Comment on
attachment 2638
[details]
Call deselectText if range is nil r=me
Joost de Valk (AlthA)
Comment 4
2005-07-03 07:59:29 PDT
Reportere, could you verify this one? If it's fixed for you, mark it as verified please.
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