Re: [csswg-drafts] [css-contain-3] Define a syntax for style-based container queries (#6396)

Agenda+ to add style queries. Proposal:
- style queries use `style()` function; for disambiguation, size queries use `size()` function
- style queries query the computed value, with the value in the query also computed wrt the query container element
- style queries cannot query ranges (for simplicity initially, and to avoid confusion since many computed values resolve to lengths but are not comparable to lengths until after the computed value stage)
- style queries can be combined using the boolean logic and syntax from @supports

Note: @mirisuzanne and I drafted this proposal into the ED at https://drafts.csswg.org/css-contain-3/#style-container in https://github.com/w3c/csswg-drafts/commit/f209f6a01a65a210acf100db9036dcccdc2c0baa

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6396#issuecomment-923602244 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 21 September 2021 04:01:28 UTC