[csswg-drafts] [css-env-1] Clarify how variables can be detected

rebeccahughes has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-env-1] Clarify how variables can be detected ==
For variables exposed through the user agent (e.g. display cutout) it would be good to have some way of detecting whether an env() variable is available.

Two possible ways we could do this:
- Through the JS API defined in #2628
- Though CSS.supports() e.g. CSS.supports('env(safe-area-inset-top)') => true

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2732 using your GitHub account

Received on Friday, 1 June 2018 22:26:51 UTC