"Giving an element inline-size containment has no effect if any of the following are true: if the element does not generate a principal box (as is the case with display: contents or display: none) if its inner display type is table if its principal box is an internal table box if its principal box is an internal ruby box or a non-atomic inline-level box" https://drafts.csswg.org/css-contain-3/#containment-inline-size
Created attachment 454453 [details] Patch
Committed r291154 (248314@main): <https://commits.webkit.org/248314@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 454453 [details].
<rdar://problem/90153807>