[whatwg] Reverse ordered lists

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.

Received on Friday, 25 January 2008 09:29:05 UTC