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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 13 Jun 2012 17:03:14 -0700
Message-ID: <CAAWBYDDTQKADdDe4D_NtGaDxOG7F=C+aEMbx++ninBsrOXfcxg@mail.gmail.com>
To: Divya Manian <manian@adobe.com>
Cc: "L. David Baron" <dbaron@dbaron.org>, Chris Eppstein <chris@eppsteins.net>, "www-style@w3.org" <www-style@w3.org>
On Wed, Jun 13, 2012 at 4:54 PM, Divya Manian <manian@adobe.com> wrote:
> On 6/13/12 4:44 PM, "L. David Baron" <dbaron@dbaron.org> wrote:
>>On Wednesday 2012-06-13 16:17 -0700, Chris Eppstein wrote:
>>> If it really is a property then make it a property with a -user- prefix
>>> then make all properties accessible for read.
>>That would make declarations of all CSS properties consume more
>>memory and take more time to parse, since we'd have to store a token
>>stream in addition to the other parsing that needs to happen.
> Then I propose we actually make it a separate definition instead of
> overloading a property definition. I have been down this path several
> times in my career as a web developer to know that "same same, just one
> small thing different" is a recipe for disaster in the future.
> I assert CSS variables will have a greater role to play in the future
> which will be overly constrained if we make it a slightly different
> 'property'.

Unless we fundamentally change the nature of CSS Variables (such as
reverting back to the "single set of global vars" like preprocessors
have), fiddling with the syntax will neither limit nor expand our
options in the future.

Received on Thursday, 14 June 2012 00:04:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC