W3C home > Mailing lists > Public > www-html@w3.org > October 2005

Re: start values in <ol>

From: David Dorward <david@dorward.me.uk>
Date: Wed, 19 Oct 2005 12:46:18 +0100
To: www-html@w3.org
Message-ID: <20051019114618.GB30287@us-lot.org>

On Wed, Oct 19, 2005 at 01:23:11PM +0200, Manuel Strehl wrote:
> I'm sure this is a rather old discussion, but I found no recent posting 
> in the mailing list, so I wanted to ask for the current state of the 
> "start" attribute in <ol>s or the "value" in <li>s.
> 
> The last thing I read was that they should be dropped in XHTML1.1

XHTML 1.1 was based on XHTML 1.0 Strict, which was based on HTML 4.01
Strict, which dropped the start attribute.

The work going on for XHTML 2.0 has added a value attribute to the li
element.

http://www.w3.org/TR/xhtml2/mod-list.html#sec_11.4.

hmmm. I'd quite like to see a way to allow one list to continue
another list.

Perhaps something like:

OL continuation attribute
  Takes the id of another list as its value.
  Indicates that this list is a continuation of another list.

Then:

Within a list, each li element has an associated number, which is used
for numbering list items in ordered lists:

If the li element has a value attribute, the associated number is the
value of that attribute;

otherwise, if the li element is the first in the list, and the ol
element has been specified as a continuation of another list, then the
number has a value one higher then the last item in said list;

otherwise, if the li element is the first in the list, then the number
has the value 1;

otherwise the number is one higher than the number of the preceding li
in the same list.

-- 
David Dorward                                      http://dorward.me.uk
Received on Wednesday, 19 October 2005 11:46:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT