r265617 incorrectly changed some places where writing mode was being taken into account, fix that by introducing containIntrinsicLogical(Width|Height)HasAuto methods and using them instead of containIntrinsic*(Width|Height)HasAuto.
Pull request: https://github.com/WebKit/WebKit/pull/15812
<rdar://problem/112479718>
Committed 266136@main (c42f4ea8948a): <https://commits.webkit.org/266136@main> Reviewed commits have been landed. Closing PR #15812 and removing active labels.