[whatwg] Reverse ordered lists

Christoph Päper christoph.paeper at crissov.de
Fri Jan 25 09:29:05 PST 2008

Simon Pieters:
> It was pointed out to me that the start='' attribute (and the  
> corresponding DOM attribute) currently defaults to 1. This could,  
> AFAICT, reaonably trivially be changed to make it depend on the  
> direction of the list and the number of <li> children.

Or you would introduce an |end| attribute, because 'start' is not the  
same as 'first'...

I think it has been shown, that the meta attribute |reverse| would  
not work in HTML, it would have to be a "command" attribute, i.e. it  
doesn't describe the ordering of the following list items, but their  
indended display. This would make it presentational and thereby not  
suitable for HTML. It would belong into CSS, but that isn't very good  
at reordering boxes.

More information about the whatwg mailing list