W3C home > Mailing lists > Public > www-style@w3.org > November 2011

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Wed, 30 Nov 2011 19:26:49 +0100
Message-ID: <4ED67569.4000602@kozea.fr>
To: www-style@w3.org
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.
"""

Regards,
-- 
Simon Sapin
Received on Wednesday, 30 November 2011 18:27:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:46 GMT