W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2017

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

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Sep 2017 18:02:26 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-330306878-1505757735-sysbot+gh@w3.org>
> The second example, using $() reads to me like a layer on top of CSS - either a preprocessor variable or something that's going to be interpolated before that text becomes CSS. This is closer to what's really going on, but my first thought is not that it's coming from the browser. 

If I understood @tabatkins properly, while some of these values will come from the browser, some can also come from JavaScript using the proposed $(--my-global) syntax. If I misunderstood that, 

> If I saw `$(...)` in the wild my first thought would be that somebody accidentally published some kind of Sass/Less/Stylus-like preprocessor dialect without compiling it to CSS first.

Well, it's because you don't know this is allowed in CSS. That's something you would learn as part of learning CSS in the future even before you start learning about SASS.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1693#issuecomment-330306878 using your GitHub account
Received on Monday, 18 September 2017 18:02:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:38 UTC