Re: [css-syntax] Duplicate declarations in style rules

On Tue, 13 Aug 2013 10:29:43 +0200, Simon Sapin <simon.sapin@exyr.org>  
wrote:

> Le 13/08/2013 01:46, Tab Atkins Jr. a écrit :
>> I've removed that paragraph now.  Cascade doesn't care about
>> duplicates, and CSSOM now defines duplicate-handling properly.
>>
>> However, either Cascade or Syntax needs to care about shorthand
>> expansion.  Where's best?
>
> Doesn’t Cascade already define shorthands and their expansion? CSSOM  
> should be able to refer to that.

It says

[[
Some properties are shorthand properties, meaning that they allow authors  
to specify the values of several properties with a single property. A  
shorthand property sets all of its longhand sub-properties, exactly as if  
expanded in place.
]]

CSSOM also needs a defined order of the expanded properties.

-- 
Simon Pieters
Opera Software

Received on Tuesday, 13 August 2013 09:27:44 UTC