W3C home > Mailing lists > Public > www-style@w3.org > February 2015

[css-counter-styles]

From: Simon Sapin <simon.sapin@exyr.org>
Date: Fri, 27 Feb 2015 16:09:05 +0100
Message-ID: <54F08891.1090005@exyr.org>
To: www-style <www-style@w3.org>
http://dev.w3.org/csswg/css-counter-styles/#the-counter-style-rule
> When a given descriptor occurs multiple times in a given
> @counter-style rule, only the last specified value is used; all prior
> values for that descriptor must be ignored.

That’s not always the last value, but the last among the values that 
match the grammar, right?

E.g.


@counter-style decimal-leading-zero {
   system: extends decimal;
   pad: 2 '0';
   pad: this is not a valid value for the "pad" descriptor;
}

-- 
Simon Sapin
Received on Friday, 27 February 2015 15:09:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:01 UTC