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: Thu, 14 Sep 2017 04:23:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-329367260-1505363026-sysbot+gh@w3.org>
> I also strongly prefer constant(). (I discussed in the meeting how this ties into the desire for cheaper "global variables", so authors could use constant(--name) while UA-defined ones are just constant(name))

I have got a problem here, and my problem varies ;) More precisely, the values that we are discussing here are not going to be constants. The scrollbar width can be updated on Windows and it is very likely we will end up toggling them off for instance when you detach your keyboard and got to tablet mode.

Similarly, when you enable an high-contrast theme, "constant" colors are going to change.

Even the proposed notch-safe space will depend on the screen orientation, I assume.

All in all, I have not seen any argument to convince me we should invest in adding a new function instead of a namespace for existing value references. 

GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1693#issuecomment-329367260 using your GitHub account
Received on Thursday, 14 September 2017 04:23:49 UTC

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