[Webkit-unassigned] [Bug 173236] New: Required UITextInput methods are completely unimplemented in WKWebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 11 04:31:47 PDT 2017


            Bug ID: 173236
           Summary: Required UITextInput methods are completely
                    unimplemented in WKWebView
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: matt.curtis.biz at gmail.com

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.

iOS 9, iOS 10


iPhone 6 & Playground

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170611/ada45de7/attachment-0001.html>

More information about the webkit-unassigned mailing list