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

On Tue, Apr 3, 2012 at 1:24 PM, Daniel Glazman
<daniel.glazman@disruptive-innovations.com> wrote:
> Le 03/04/12 03:31, Tab Atkins Jr. a écrit :
>> While implementing the parsing side of Variables recently, Luke
>> realized that it's unclear whether an !important token at the end of a
>> variable's value actually makes it important, or if it's just treated
>> as part of the variable's value.  I'm not sure which option is the
>> best, but here are some arguments for both.
>
> I think variables are for values and only for values. My opinion
> is "Don't accept !important inside them".

So that's a vote for "!important in a var property is a syntax error"?
 That's an option (3) that I skipped, and matches what Chris Eppstein
wants.

~TJ

Received on Tuesday, 3 April 2012 21:31:26 UTC