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

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