Simon Pieters wrote:
See: http://forums.whatwg.org/viewtopic.php?t=130

Siemova wrote:
I recently wanted to create an OL in reverse order. In scouring the web for a solution, I found no simple way to accomplish this, but came across a number of other people frustrated by the lack of this minor feature. The easiest, most obvious solution would be to create an attribute for Ordered Lists -- let's call it order="" -- which would have two possible values: ftl (first to last) and ltf (last to first).

(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

Robert (Jamie) Munro

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to