Bug 237761

Summary: [CSS Container Queries] Only apply inline-size containment when it is allowed
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal CC: changseok, esprehn+autocc, ews-watchlist, glenn, graouts, kondapallykalyan, pdr, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Antti Koivisto
Reported 2022-03-11 01:40:41 PST
"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
Attachments
Patch (9.86 KB, patch)
2022-03-11 01:44 PST, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2022-03-11 01:44:20 PST
EWS
Comment 2 2022-03-11 03:52:40 PST
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].
Radar WebKit Bug Importer
Comment 3 2022-03-11 03:53:15 PST
Note You need to log in before you can comment on or make changes to this bug.