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

These values have been in devices for nearly two years now and other than UA sniffing combined with screen measurement we don't have any means at our disposal to read in the values. 

Something like this would be most welcome:

```
getComputedStyle(element).getPropertyValue(env(safe-area-inset-top));
```

Is there any progress on exposing these values to script? 

-- 
GitHub Notification of comment by benfrain
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2732#issuecomment-525267261 using your GitHub account

Received on Tuesday, 27 August 2019 11:54:33 UTC