This bug is following up on my comment bug 210939, comment 3. closestEditablePositionInElementForAbsolutePoint can be made more efficient by using RenderObject::positionForPoint to hit test the target element's renderer instead of doing this indirectly by way of hit testing the entire RenderView.
Created attachment 403561 [details] Patch
Comment on attachment 403561 [details] Patch Clearing flags on attachment: 403561 Committed r263969: <https://trac.webkit.org/changeset/263969>
All reviewed patches have been landed. Closing bug.
<rdar://problem/65134809>