Bug 314082

Summary: Add scroll-state value for container-type property (parsing and computed value)
Product: WebKit Reporter: klee
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

klee
Reported 2026-05-05 06:26:39 PDT
Add support for parsing and computing the "scroll-state" value in the container-type CSS property, as defined in CSS Conditional 5. https://drafts.csswg.org/css-conditional-5/#container-type This refactors ContainerType from a simple enum to a struct (following the ScrollbarGutter pattern) to support composite values: - scroll-state (standalone) - size scroll-state - inline-size scroll-state Tests: - css/css-conditional/container-queries/scroll-state/container-type-scroll-state-parsing.html - css/css-conditional/container-queries/scroll-state/container-type-scroll-state-computed.html
Attachments
klee
Comment 1 2026-05-05 06:27:37 PDT
Working on this implementation.
klee
Comment 2 2026-05-05 09:05:34 PDT
Radar WebKit Bug Importer
Comment 3 2026-05-12 06:27:10 PDT
EWS
Comment 4 2026-05-28 02:02:30 PDT
Committed 314023@main (835b5415b15c): <https://commits.webkit.org/314023@main> Reviewed commits have been landed. Closing PR #64275 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.