Re: [csswg-drafts] [css-contain-3][css-mediaqueries-5] Unified custom queries (#7622)

@romainmenke with [CSS Conditional Rules Module Level 5](https://www.w3.org/TR/css-conditional-5/#when-rule) defining `@when` as well as `@else` that accept both `media()` and `supports()` and probably as well in combination, I think leaving `@supports` out of the loop when thinking about this is probably not the way to go.

But I'm with you that `env()` is more thought of as a way to save globally available values instead of full conditional rules.

`env()` should be used in combination with `@custom-media` | `@custom-query` what so ever, but shouldn't replace it.

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


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

Received on Tuesday, 10 June 2025 11:06:17 UTC