W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css-variables] CSS Variables are a NEW kind of variable

From: Divya Manian <manian@adobe.com>
Date: Wed, 30 May 2012 09:26:02 -0700
To: François REMY <fremycompany_pub@yahoo.fr>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <CBEB97E0.24DF%manian@adobe.com>
On 5/30/12 12:59 AM, "François REMY" <fremycompany_pub@yahoo.fr> wrote:
>For instance, if I was responsible of the spec, I think I would have
>"variables" into "user-defined properties".
>I completely agree. I also would prefer something like "just use an
>    :root { x-link-color: blue }
>    a { color: x-link-color }
>If this is not possible to do, we shall need an introductory token, which
>can be. However, even with "x-", the var() function should be kept to
>provide a default (as second argument) for when the variable is invalid.

This is infinitely better than what has been proposed so far. I think
defining them as user-defined property also makes a lot of sense. X-prefix
would work for me too! I am not beholden to the $ sign.
Received on Wednesday, 30 May 2012 16:49:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:17 UTC