If line content doesn't fit at all we should sample the shape until we find the next position where it does.
<rdar://problem/106545300>
Pull request: https://github.com/WebKit/WebKit/pull/11355
Committed 261496@main (bb853296ed79): <https://commits.webkit.org/261496@main> Reviewed commits have been landed. Closing PR #11355 and removing active labels.