W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2008

[whatwg] Reverse ordered lists

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Fri, 25 Jan 2008 18:29:05 +0100
Message-ID: <30D13B30-7391-43F5-B74B-72B933C40D57@crissov.de>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:00 UTC