- From: John Daggett <jdaggett@mozilla.com>
- Date: Sun, 11 Aug 2013 23:58:41 -0700 (PDT)
- To: Simon Sapin <simon.sapin@exyr.org>
- Cc: www-style@w3.org
Simon Sapin wrote: > §8.1 Style rules of css-syntax says: > > If a style rule contains multiple declarations with the same name, > > all but the last such declaration are discarded. > > It’s actually not that simple: > > If a style rule contains multiple declarations for the same longhand > property after shorthand expansion [refer to CSS Cascade], all but the > one with greatest cascading order [refer to CSS Cascade] are discarded. > > Note: within one style rule, the relative cascading order is > determined only by '!important', then source order. Simon, can you give an example of where your definition is not equivalent to the current rule in the spec? I'm trying to see how the longhand/shorthand distinction matters and I can't think of an example. Cheers, John Daggett
Received on Monday, 12 August 2013 06:59:07 UTC