Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css.properties.custom-property - does env() belong here? #14668

Open
gsnedders opened this issue Jan 26, 2022 · 1 comment · May be fixed by #25645
Open

css.properties.custom-property - does env() belong here? #14668

gsnedders opened this issue Jan 26, 2022 · 1 comment · May be fixed by #25645
Assignees
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Comments

@gsnedders
Copy link
Contributor

gsnedders commented Jan 26, 2022

Currently, env() and definitions of its safe variables lives at css.properties.custom-property.env, which to me seems like a surprising place; while yes, they're similarly variable like, they're not really "custom" in any real sense (being instead from the environment).

This also leads to them all appearing on https://developer.mozilla.org/en-US/docs/Web/CSS/--*, which is very much confusing, given it makes it seem like var(safe-area-inset-left) (etc.) is a thing.

@queengooborg queengooborg added the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Jan 26, 2022
@caugner
Copy link
Contributor

caugner commented Jan 13, 2025

I think it makes sense to move css.properties.custom-property.env to css.types.env.

@caugner caugner linked a pull request Jan 13, 2025 that will close this issue
@caugner caugner self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants