W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: [css3-syntax][css3-cascade] Conflicting definitions of !important

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 11 Jun 2013 17:47:21 +0900
Message-ID: <51B6E419.7030205@inkedblade.net>
To: www-style@w3.org
On 06/09/2013 11:23 AM, Simon Sapin wrote:
>
>>> As you can see, the former definition allows whitespace and comments between
>>> ! and important, while the latter does not. I don’t care what the exact
>>> syntax is, but it should be defined no less and no more than once.
>>>
>>> I suggest that either:
>>>
>>> 1. css3-cascade refers to css3-syntax for this.
>>> 2. css3-syntax removes anything related to !important, which is becomes part
>>> of the declaration’s "value". css3-cascade defines exactly how !important is
>>> separated from the rest of the value.
>>>
>>> I prefer 1 as syntax belongs in the Syntax module, but 2 would work too.
>>
>> Cascade defining that is a bug, leftover from the older version.  We'll fix.
>
> This still needs fixing :)

Fixed using method 2. I refuse to depend on Syntax for anything
in LC or CR, and this spec should go to LC pretty soon.

~fantasai
Received on Tuesday, 11 June 2013 08:47:50 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC