Re: [csswg-drafts] [css-conditional-5] Add `container()` as a leaf of the @when rule (#6917)

It doesn't seem _impossible_ provided we have a workable solution for inner at-rules. Using `@layer` as an example:

`@media(a) { @layer x; }` -> affects layer order only when `a` is true.
`@container(b) { @layer x; }` -> affects layer order regardless of `b`.
`@when media(a) or container(b) { @layer x; }` -> ???


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


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

Received on Wednesday, 9 February 2022 19:53:45 UTC