[whatwg] Reverse ordered lists

Lachlan Hunt lachlan.hunt at lachy.id.au
Wed Jan 23 06:03:42 PST 2008


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


-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/



More information about the whatwg mailing list