The textRectsFromMarkers:text: method is always failing to return a valid answer because these methods to extend the search range auto startPosition = visiblePositionForPositionWithOffset(makeContainerOffsetPosition(originalRange.start), -textLength); auto endPosition = visiblePositionForPositionWithOffset(makeContainerOffsetPosition(originalRange.start), 2 * textLength); create a range that can't be iterated
<rdar://74256003>
Created attachment 423817 [details] patch
Created attachment 423895 [details] patch
Committed r274826: <https://commits.webkit.org/r274826> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423895 [details].
Re-opened since this is blocked by bug 223746
Created attachment 424250 [details] patch
Created attachment 424737 [details] patch
Committed r275425: <https://commits.webkit.org/r275425> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424737 [details].