There are several issues need to fix. * There are some special returns for inline size containment. We should avoid it and let intrinsicSize() to handle both size and inline size containment instead. * For video, when calculateIntrinsicSize(), it should consider contain:inline-size. * intrinsicSize() should consider the inline size containment scenario.
Created attachment 465202 [details] WIP-patch
Pull request: https://github.com/WebKit/WebKit/pull/10881
<rdar://problem/106100196>
Committed 261205@main (43b73e296e50): <https://commits.webkit.org/261205@main> Reviewed commits have been landed. Closing PR #10881 and removing active labels.