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

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 UTC