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: Wed, 4 Apr 2012 19:07:36 -0700
Message-ID: <CAAWBYDDqaOni9YnrbEVCKKoGpKm8PZOLN8WfqGW-pWrfe7EMww@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
Based on all the feedback, I think I'm going to go with (2a) - a
trailing !important in a var property affects the cascade in the
normal way, and is not recorded as part of the variable's value.  An
!important anywhere else in the var property is a syntax error.

~TJ
Received on Thursday, 5 April 2012 02:08:24 GMT

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