Add a variant of -selectPositionAtPoint that takes a boolean as to whether to constrain the point to stay within the focused element. This will be used in a future patch to select an arbitrary point on the page regardless of whether doing so changes focus.
Created attachment 388607 [details] Patch
Comment on attachment 388607 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388607&action=review > Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:450 > +- (void)_selectPositionAtPoint:(CGPoint)point stayingWithinFocusedElement:(BOOL)isInteractingWithFocusedElement completionHandler:(void (^)(void))completionHandler; isInteractingWithFocusedElement => stayingWithinFocusedElement
Created attachment 388609 [details] To Land
Comment on attachment 388609 [details] To Land Clearing flags on attachment: 388609 Committed r255042: <https://trac.webkit.org/changeset/255042>
All reviewed patches have been landed. Closing bug.
<rdar://problem/58852706>
Reopening to attach new patch.
Created attachment 390091 [details] To land after bug #207366 Patch now formally depends on bug #207366. This simplifies the patch as I no longer need to add Mac- and iOS-specific results.