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

Re: [css-variables] Should var properties respect !important?

From: Chris Eppstein <chris@eppsteins.net>
Date: Fri, 6 Apr 2012 15:44:21 -0700
Message-ID: <CANyEp6XQS21N9HY1_LSoG3t3OG1Uvc+7nTTYssFxEHXv0Zw-BA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Florian Rivoal <florianr@opera.com>, www-style@w3.org
Seems weird. We require variables be set to legal values in sass:

$ echo "$foo: !;" | scss



Syntax error: Invalid CSS after ":": expected pseudoclass or pseudoelement,
was " !;"
        on line 1 of standard input

Chris

On Fri, Apr 6, 2012 at 3:36 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Fri, Apr 6, 2012 at 3:32 PM, Chris Eppstein <chris@eppsteins.net>
> wrote:
> > Is ! a legal value of a variable? Seems like it shouldn't be.
>
> According to the current definition, probably yes, because it's a valid
> token.
>
> ~TJ
>
Received on Friday, 6 April 2012 22:44:50 GMT

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