Re: [csswg-drafts] [css-variables] User Agent properties and variables

Per... https://drafts.csswg.org/mediaqueries/#units
> Relative length units in media queries are based on the initial value, which means that units are never based on results of declarations. For example, in HTML, the em unit is relative to the initial value of font-size, defined by the user agent or the user’s preferences, not any styling on the page.

Any idea on how "user’s preferences" will be interpreted, allowing media queries use of something like `calc(env(user-font-size) * 20)`?

Also, this reminds me of discussion currently happening in [#2430 - font-size: 'medium' value is the user's preferred font size](https://github.com/w3c/csswg-drafts/issues/2430).

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

Received on Saturday, 28 April 2018 00:26:36 UTC