Per [1], when an element skips its contents, it turns on size containment. https://w3c.github.io/csswg-drafts/css-contain-2/#skips-its-contents
Created attachment 463697 [details] WIP-patch
<rdar://problem/102824388>
Pull request: https://github.com/WebKit/WebKit/pull/7158
Committed 257431@main (eaa26fbd160e): <https://commits.webkit.org/257431@main> Reviewed commits have been landed. Closing PR #7158 and removing active labels.