W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2008

[whatwg] Reverse ordered lists

From: Dave Singer <singer@apple.com>
Date: Wed, 23 Jan 2008 15:15:51 +0100
Message-ID: <p06240815c3bcfc0ec3f2@[10.10.15.2]>
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
Received on Wednesday, 23 January 2008 06:15:51 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:00 UTC