W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

Re: [csswg-drafts] [css-env-1] Clarify how variables can be detected (#2732)

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Tue, 27 Aug 2019 17:58:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-525414818-1566928706-sysbot+gh@w3.org>
> other than UA sniffing combined with screen measurement we don't have any means at our disposal to read in the values.

Wait, why does:

```
div.style.width = "env(safe-area-inset-top)";
getComputedStyle(div).width
```

not work?

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2732#issuecomment-525414818 using your GitHub account
Received on Tuesday, 27 August 2019 17:58:29 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:52 UTC