Simplify the implementations of computeVisibleRectInContainer() slightly
<rdar://problem/118961487>
Pull request: https://github.com/WebKit/WebKit/pull/21090
Committed 271339@main (55dc29da9f74): <https://commits.webkit.org/271339@main> Reviewed commits have been landed. Closing PR #21090 and removing active labels.