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

[whatwg] Reverse ordered lists

From: Dave Singer <singer@apple.com>
Date: Wed, 23 Jan 2008 20:06:03 +0100
Message-ID: <p0624082dc3bd4069369d@[10.10.15.2]>
At 12:53  -0600 23/01/08, Siemova wrote:
>On Jan 23, 2008 12:18 PM, Dave Singer 
><<mailto:singer at apple.com>singer at apple.com> wrote:
>
>how about assuming that if the source wants it numbered in reverse
>order, it knows what it is doing, and can tell the browser what
>number to start at?
>
>it still seems the simplest:  an attribute that gives the starting
>number (default 1) and an attribute that gives the direction
>(increasing or decreasing, default increasing).
>
>
>
>True, that's simplest to implement, but why put the onus on the 
>content author to add things up and specify a start value every 
>time? Computers are for automating such calculations. If you're 
>reversing a list, the default value for start shouldn't be 1 
>anymore; that should be the ending value, and the starting value 
>ought to be backwards-engineered from it. This is precisely how a 
>content creator would expect it to work.
>
>I'm surprised at you, being from Apple as you are. ;) Isn't the idea 
>to make using such a function simple and intuitive, even if it has 
>to be a little more complicated on the back-end?

complicated is fine.  impossible takes a little longer;  if I don't 
have the end yet, I can't do it right, and the substitutes all seem 
ugly.
-- 
David Singer
Apple/QuickTime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080123/138cfcc6/attachment.htm>
Received on Wednesday, 23 January 2008 11:06:03 UTC

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