Extend the quirk added in 267969@main to cover more cases.
<rdar://114573089>
Pull request: https://github.com/WebKit/WebKit/pull/17765
Committed 267987@main (e590fea7147d): <https://commits.webkit.org/267987@main> Reviewed commits have been landed. Closing PR #17765 and removing active labels.