- From: Simon Sapin <simon.sapin@exyr.org>
- Date: Tue, 13 Aug 2013 11:51:17 +0100
- To: Simon Pieters <simonp@opera.com>
- CC: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Le 13/08/2013 10:32, Simon Pieters a écrit : > 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. I can only think of two reasonable ways to do this: * By alphabetical order of longhand property name * In the same order as in the Value line in the spec for the shorthand. What do implementations do? -- Simon Sapin
Received on Tuesday, 13 August 2013 10:51:45 UTC