[whatwg] Reverse ordered lists

Dave Singer singer at apple.com
Wed Jan 23 06:15:51 PST 2008


At 15:03  +0100 23/01/08, Lachlan Hunt wrote:
>Simon Pieters wrote:
>>    <ol start="100" reverse>
>>
>>The lack of start='' would make the numbers update as the list is 
>>filled with <li>s. This allows both for simplicitly for short lists 
>>and correct incremental rendering for large lists.
>
>No, the lack of an explicit start attribute would make it start from 
>the default value: 1.  It would then count down from there:
>
>  1. A
>  0. B
>-1. C
>-2. D


which suggests a pair of orthogonal attributes, as above, the 
direction ('order'='increasing' or 'decreasing'??) and the initial 
ordinal value (which should be a number, even if the styling asks for 
e.g. alphabetic labelling).

perhaps

(from a non-expert)
-- 
David Singer
Apple/QuickTime



More information about the whatwg mailing list