Bug 314082
| Summary: | Add scroll-state value for container-type property (parsing and computed value) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | klee |
| Component: | CSS | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
klee
Working on this implementation.
klee
Pull request: https://github.com/WebKit/WebKit/pull/64275
Radar WebKit Bug Importer
<rdar://problem/176878115>
EWS
Committed 314023@main (835b5415b15c): <https://commits.webkit.org/314023@main>
Reviewed commits have been landed. Closing PR #64275 and removing active labels.