Re: [csswg-drafts] [css-contain-3] What happens to other @rules inside @container? (#6827)

The CSS Working Group just discussed `[css-contain-3] What happens to other @rules inside @container?`, and agreed to the following:

* `RESOLVED: Property and fontface rules always work in an @container rule`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-contain-3] What happens to other @rules inside @container?<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/6827<br>
&lt;dael> miriam: Dealt with a version of this problem before<br>
&lt;dael> miriam: Containers don't have a global resolution. Specific to elements and contexts<br>
&lt;dael> miriam: Need to know if allowed and what happens to have global @rules like property or fontface inside @container<br>
&lt;dael> miriam: On thread agreed for these rules we think @container should be treated as true for all cases like these to be consisten with previous decisions<br>
&lt;dael> astearns: No difference in having @fontface inside or outside a container<br>
&lt;dael> miriam: Right<br>
&lt;dael> astearns: reasonable to me<br>
&lt;dael> TabAtkins: yep, agreed<br>
&lt;dael> dbaron: At first glance seems surprising. Are there other things that work this way?<br>
&lt;dael> astearns: Talked about layer order previously<br>
&lt;dael> miriam: Yeah, layer order. I feel like also some name defining @rules, but that's this so maybe we didn't. I think there was previous art on this<br>
&lt;dael> TabAtkins: Ultimately they're always true or false, we can't make them dependant on the query. The always true is consistent. But we oculd say it's always false if that's more reasonable.<br>
&lt;dael> dbaron: Curious why it's not syntax errors and drop. That was one of Rune's options<br>
&lt;dael> astearns: Would you like more time to consider and consult?<br>
&lt;dael> dbaron: If nobody else thinks it makes sense okay resolving. My  intuition is if we don't know how to process it shouldn't be allowed<br>
&lt;dael> astearns: We can process fine. Slightly less surprising the rules don't disappear<br>
&lt;dael> dbaron: Maybe. Okay<br>
&lt;dael> astearns: We are at time. Prop: Property and fontface rules always work in an @container rule<br>
&lt;dael> miriam: Prior are was for @layer where @layer has no effect on name defining rules<br>
&lt;dael> s/are/art<br>
&lt;dael> astearns: Anyone want to chew on this more?<br>
&lt;dael> RESOLVED: Property and fontface rules always work in an @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/6827#issuecomment-1006200455 using your GitHub account


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

Received on Thursday, 6 January 2022 01:01:38 UTC