[whatwg] Reverse ordered lists

Simon Pieters simonp at opera.com
Thu Jan 10 07:22:41 PST 2008


On Thu, 10 Jan 2008 14:57:32 +0100, Robert (Jamie) Munro  
<rjmunro at arjam.net> wrote:

>> (A boolean reverse="" attribute or so would also work, I guess.)
>
> How about a step attribute that is allowed to be negative?
>
> That way:
>
> <ol step="-1">
> <li>A</li>
> <li>B</li>
> </ol>
>
> would be:
> 2. A
> 1. B
>
> and step="2" would be:
> 2. A
> 4. B

What is the use-case?

-- 
Simon Pieters
Opera Software



More information about the whatwg mailing list