Re: [CSS21][12.5.1 The 'list-style-type' property] decimal-leading-zero clarification

On Wed, Nov 30, 2011 at 10:26 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
> Hi,
>
> The 'decimal-leading-zero' value of 'list-style-type' is defined as:
>
> """
> Decimal numbers padded by initial zeros (e.g., 01, 02, 03, ..., 98, 99).
> """
>
> It is not clear in this definition that only numbers 1 to 9 are padded with
> a single zero whatever the size of the list: lists with 9 items or less are
> still padded to two digits; and no more padding is added when the list
> reaches 100 items or more. The plural in "initial zeros" makes it more
> confusing.
>
> Suggested new definition:
>
> """
> Like 'decimal', but single-digit numbers are padded with an initial zero
> (eg. 01, 02, ..., 09, 10, ..., 99, 100, 101, ...). The representation of
> each marker does not depend on the number of items in the list.
> """

This is being defined in Lists 3.  It matches your definition, that
only the single-digit numbers are padded with zeros.  (It's defined by
a @counter-style rule rather than prose, though.)

~TJ

Received on Wednesday, 30 November 2011 19:03:35 UTC