[whatwg] Reverse ordered lists
giecrilj at stegny.2a.pl
Wed Jan 23 11:23:48 PST 2008
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
> order, it knows what it is doing, and can tell the browser
> number to start at?
> it still seems the simplest: an attribute that gives the
> 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.
More information about the whatwg