Re: [csswg-drafts] [css-contain] <container-name> in @container ambiguities (#7203)

The CSS Working Group just discussed `[css-contain] <container-name> in @container ambiguities`, and agreed to the following:

* `RESOLVED: disallow 'not' as a container name`
* `RESOLVED: 'none', 'not', 'and', and 'or' would be disallowed. Only a single name allowed in @container rule`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-contain] &lt;container-name> in @container ambiguities<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/7203<br>
&lt;dael> miriam: The way we have container-name at the start of an @container rule can be confused currently with keyword not<br>
&lt;fantasai> +1 to disallowing not<br>
&lt;TabAtkins> +1 to disallow "not"<br>
&lt;dael> miriam: @container might start with either container-name or not. First part is to disallow 'not' as a container name<br>
&lt;jensimmons> +1 seems obvious to me<br>
&lt;dael> Rossen_: I see support<br>
&lt;dael> Rossen_: Should be straightforward. Other opinions? Or objections?<br>
&lt;dael> RESOLVED: disallow 'not' as a container name<br>
&lt;dael> miriam: Next part is a question. not clear if you can query multiple names in an @container rule and what happens if you did. and or or condition?<br>
&lt;dael> miriam: Container can have multiple names. You can say if you use multiple names you need both or all. Or say this or that. Or disallow multiple names<br>
&lt;dael> miriam: Sort of use cases of any of the above. And all can be handled by other naming conventions. no clear reason to go one way or another<br>
&lt;dael> miriam: Most obvious to me if we allow multiple names is they're allr equired<br>
&lt;Rossen_> ack fantasai<br>
&lt;dael> fantasai: I think ligit use cases for AND and OR so logical thing to do is apply bool syntax here. Might not want to do that b/c that's adding a lot. I suggest only 1 container name, disallow not, and, and or. Consider in the future if we want a more powerful syntax<br>
&lt;dael> Rossen_: Reserve the bool names for now, only allow 1 container name, and that gives us future extensibility for bool and multi naming<br>
&lt;dael> miriam: Makes sense to me<br>
&lt;dael> fantasai: miriam you mentioned about disallowing none?<br>
&lt;dael> miriam: So none can't be the name of a container. none as a container name just removes container names. I don't think need to explicitly disallow, but could clarify that<br>
&lt;dael> fantasai: Makes a difference as to if rule is invalidated. I lean toward invalidating it<br>
&lt;dael> miriam: 'none', 'not', 'and', and 'or' would be disallowed. Only a single name allowed in @container rule<br>
&lt;dael> Rossen_: Sounds like a good summary. Opinions or objections?<br>
&lt;dael> RESOLVED: 'none', 'not', 'and', and 'or' would be disallowed. Only a single name allowed in @container rule<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7203#issuecomment-1144257312 using your GitHub account


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

Received on Wednesday, 1 June 2022 23:51:55 UTC