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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 3 Apr 2012 14:30:37 -0700
Message-ID: <CAAWBYDD+VdjQekJ0O1jA+XAdr7SRcbfTh9+FoBdjE2vOfUi8eA@mail.gmail.com>
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Cc: www-style@w3.org
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 GMT

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