Re: [csswg-drafts] [css-conditional][css-mixins][css-cascade] How should global at-rules work inside of "contextual conditionals" like `@container`? (#12627)

The main issue I see with making these things invalid is that we need to make sure they would continue to work when we expand features like with `@import … scope(…)` (https://github.com/w3c/csswg-drafts/issues/7348).

If something works on the root level of a stylesheet, and then we import it somewhere, and “wrap” with `@media`, `@layer`, or `@scope`, things inside should continue to work as if they were being imported as usual.

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


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

Received on Wednesday, 27 August 2025 16:41:46 UTC