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

[whatwg] Reverse ordered lists

From: Krzysztof Żelechowski <giecrilj@stegny.2a.pl>
Date: Wed, 23 Jan 2008 20:23:48 +0100
Message-ID: <1201116228.6536.28.camel@a1dmin.vola.spe.com.pl>

Dnia 23-01-2008, ?r o godzinie 12:53 -0600, Siemova pisze:
> On Jan 23, 2008 12:18 PM, Dave Singer <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?

If for no other reason, in order to help global warming.
A HTML document is written once, read lots of times.
If the author insists that counting the items is an excessive burden 
(it is not; if you cannot count yourself,
just remove the reverse attribute 
and look at the last item as rendered) 
he could use a generator or a fix-up processor before publishing.

Received on Wednesday, 23 January 2008 11:23:48 UTC

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