Bug 5555

Summary: Does not support JavaScript method createTextRange
Product: WebKit Reporter: Onar Vikingstad <onar>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: ap, bfulgham, ian, marcus
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
test case none

Onar Vikingstad
Reported 2005-10-29 21:28:32 PDT
WebKit does not support the createTextRange JavaScript method, nor the moveStart and moveEnd methods of createTextRange. These are useful, for instance for sites such as Google Suggest and other AJAX interfaces.
Attachments
test case (613 bytes, text/html)
2005-11-26 02:37 PST, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2005-11-26 02:37:42 PST
Created attachment 4805 [details] test case ToT WebKit now supports setSelectionRange, but not (yet?) createTextRange.
Eric Seidel (no email)
Comment 2 2005-12-27 15:48:46 PST
The second button in the test case works. However the first still does not. The test case should probably be updated.
Brent Fulgham
Comment 3 2022-07-06 13:17:25 PDT
createTextRange was a MSIE-specific API. WebKit does support modern alternatives (createRange, etc.)
Note You need to log in before you can comment on or make changes to this bug.