- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 12 Jan 2022 17:27:02 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `CSS Conditional L3 : Syntax for container types`, and agreed to the following: * `RESOLVED: Boxes default to style containment, syntax of 'container' and @container preamble is name / type` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: CSS Conditional L3 : Syntax for container types<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/6393<br> <fantasai> miriam: Really wanted a way to query which type of conainer<br> <fantasai> miriam: e.g. find nearest inline-size container<br> <fantasai> miriam: Already the query has two parts to it<br> <fantasai> miriam: can query a specific named container<br> <fantasai> miriam: and then main query list is what queries against that container<br> <fantasai> miriam: so adding to preamble ability to filter by container type<br> <fantasai> miriam: in the discussion fantasai suggested that we could matched the syntax of the container shorthand property<br> <fantasai> miriam: currently that syntax requires a type, and then slash, and then any number of names<br> <fantasai> miriam: that could work, but in our initial formulation the container type is required to establish a container<br> <fantasai> miriam: which is why it's first<br> <fantasai> miriam: but for queries, seems that putting name first makes sense<br> <fantasai> miriam: since most ppl will be querying name, not type<br> <fantasai> miriam: Also discussion that all boxes can be style containers<br> <fantasai> miriam: which would make type container<br> <fantasai> miriam: make a style conainer<br> <fantasai> miriam: in that case, we could start with names in container property<br> <fantasai> miriam: and if you wanted to make a type of container without a name, would have to start the value with a slash<br> <fantasai> Rossen_: Any opinions?<br> <miriam> this comment lays it out: https://github.com/w3c/csswg-drafts/issues/6393#issuecomment-988216116<br> <fantasai> miriam: Comment summarizes the proposal<br> <fantasai> miriam: 3 resolutions<br> <fantasai> miriam: 1. Make style as the default container type, all boxes can take<br> <fantasai> miriam: 2. Changing 'container' property syntax to name / type<br> <fantasai> miriam: 3. Changing @container preamble to match<br> <fantasai> florian: I think we shoud take all 3, only make sense if we take them all<br> <fantasai> Rossen_: Any objections to resolving on all 3?<br> <fantasai> RESOLVED: Boxes default to style containment, syntax of 'container' and @container preamble is name / type<br> <fantasai> Rossen_: Do we need to republish soon?<br> <fantasai> miriam: need to make some changes first<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6393#issuecomment-1011283604 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 12 January 2022 17:27:04 UTC