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

[whatwg] Reverse ordered lists

From: Simon Pieters <simonp@opera.com>
Date: Wed, 23 Jan 2008 15:58:11 +0100
Message-ID: <op.t5d069oiidj3kv@zcorpandell.palace.opera.no>
On Wed, 23 Jan 2008 15:03:42 +0100, Lachlan Hunt  
<lachlan.hunt at lachy.id.au> 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

Why? From an authoring perspective I would say that it's more useful to  
have the last item be 1 by default.

-- 
Simon Pieters
Opera Software
Received on Wednesday, 23 January 2008 06:58:11 UTC

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