- From: Bramus via GitHub <noreply@w3.org>
- Date: Tue, 01 Jul 2025 08:13:23 +0000
- To: public-css-archive@w3.org
To summarize, the proposal is to extend `<supports-feature>` with a `<supports-env-fn>`, like so: ``` <supports-feature> = <supports-selector-fn> | <supports-env-fn> | <supports-decl> <supports-selector-fn> = selector( <complex-selector> ) <supports-env-fn> = env( <custom-ident> ) ``` When the passed in `<custom-ident>` is one of the supported Environment Variables, the result is `true`. Otherwise it is `false`. Example usage: ```css @supports env(safe-area-max-inset-bottom) { … } ``` -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3576#issuecomment-3022505160 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 July 2025 08:13:24 UTC