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

Re: [css-variables] the new ED for CSS Variables

From: Chris Eppstein <chris@eppsteins.net>
Date: Fri, 17 Feb 2012 14:43:05 -0800
Message-ID: <CANyEp6X_gW=e+4fN-SwiJPk+SmA4S8Mrr_UZrEZ2scdve9wjJw@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: François REMY <fremycompany_pub@yahoo.fr>, www-style@w3.org
Variables are a new primitive. Seems justified.

chris

On Fri, Feb 17, 2012 at 2:39 PM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Fri, Feb 17, 2012 at 2:35 PM, Chris Eppstein <chris@eppsteins.net>
> wrote:
> > What's wrong with using $?
> >
> >  :root { $accentColor: green; }
> >   h1 { color: $accentColor; }
>
> It violates the Core Grammar, unfortunately.  That doesn't make it
> impossible to do, it just means we need a pretty good justification
> for it.
>
> ~TJ
>
Received on Friday, 17 February 2012 22:43:36 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT