- From: Bramus via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 May 2025 22:19:57 +0000
- To: public-css-archive@w3.org
> I think an env() supports function like selector() seems fine. But also is it really all that useful? Detecting `safe-area-max-inset-bottom` needs this _([see above](https://github.com/w3c/csswg-drafts/issues/3576#issuecomment-2674473137))_ because there is a difference between the value being `0` because it is actually `0` _(e.g. on desktop)_ vs the value being `0` because it is the fallback that is used. I worked around it in my code by setting the fallback to a value that can never be reached (`-1`) and then using a style query. However, there is no guarantee that that type of workaround will work for other, future, envvars. -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3576#issuecomment-2881719576 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 14 May 2025 22:19:58 UTC