Fix contain-size-button-001+002.html.
Pull request: https://github.com/WebKit/WebKit/pull/2818
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/35265
Committed 252973@main (b850aebbf296): <https://commits.webkit.org/252973@main> Reviewed commits have been landed. Closing PR #2818 and removing active labels.
<rdar://problem/97817583>