If the WKWebView is fully editable (-[WKWebView _setEditable:YES] was called on it) then always hit test for editable elements.
<rdar://problem/61798347>
Created attachment 396553 [details] Patch
Comment on attachment 396553 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=396553&action=review > Tools/TestWebKitAPI/Tests/WebKitCocoa/RequestTextInputContext.mm:205 > + NSArray<_WKTextInputContext *> *contexts; Nit - maybe just move this down so that it’s `NSArray<_WKTextInputContext *> *contexts = [webView synchronouslyRequestTextInputContextsInRect:[webView bounds]];`?
Comment on attachment 396553 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=396553&action=review Thanks for the review! >> Tools/TestWebKitAPI/Tests/WebKitCocoa/RequestTextInputContext.mm:205 >> + NSArray<_WKTextInputContext *> *contexts; > > Nit - maybe just move this down so that it’s `NSArray<_WKTextInputContext *> *contexts = [webView synchronouslyRequestTextInputContextsInRect:[webView bounds]];`? I'll just inline [webView synchronouslyRequestTextInputContextsInRect:[webView bounds]] into the EXPECT_GE to get rid of the local altogether.
Created attachment 396556 [details] To Land
Comment on attachment 396556 [details] To Land Clearing flags on attachment: 396556 Committed r260193: <https://trac.webkit.org/changeset/260193>
All reviewed patches have been landed. Closing bug.