W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

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

From: Becca Hughes via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Jun 2018 22:26:49 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-328678391-1527892008-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Friday, 1 June 2018 22:26:52 UTC