WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
173236
Required UITextInput methods are completely unimplemented in WKWebView
https://bugs.webkit.org/show_bug.cgi?id=173236
Summary
Required UITextInput methods are completely unimplemented in WKWebView
Matt Curtis
Reported
2017-06-11 04:31:47 PDT
Summary: Problem is as stated in title. WKWebView implements barely any of the methods required for UITextInput conformance, making it unsuitable as a text-interactive responder. Because of this non-conformance, WKWebView responds incorrectly to queries from the system regarding text state. Basic functions are missing, such as the ability of the system to query the text input regarding text content of the currently selected range. WKWebView should not have been made available in this state. Steps to Reproduce: 1. Load content into a WKWebView, editable or non-editable 2. Select text, giving WKWebView's WKContentView focus 2. Attempt to use almost any of the **required** methods of the UITextInput protocol on WKContentView:
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextInput_Protocol/
Expected Results: WKWebView's WKContentView properly implements the required methods of the UITextInput protocol. Actual Results: WKWebView implements few of the required methods. Version: iOS 9, iOS 10 Notes: Configuration: iPhone 6 & Playground
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-06-15 20:59:04 PDT
<
rdar://problem/32807284
>
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