Lists

Additional options have been added to the 'list-style-type' property, including 'decimal-leading-zero', 'lower-greek', 'upper-greek', 'lower-latin' (the same as 'lower-alpha'), 'upper-latin' (the same as 'upper-alpha'), 'hebrew', 'armenian', 'georgian', 'cjk-ideographic', 'katakana', 'hiragana-iroha' and 'katakana-iroha'.

The leading zeros in the 'decimal-leading-zero' option refers to padding to the same length as the longest number in the list. If the largest number is '87', then values below 10 are padded to two digits, as in '06'. If the largest number is '264', then all values below 100 are padded to three digits, as in '006' and '098':

098 ninety-eighth item099 ninety-ninth item100 last item

Get XML Companion, The, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.