Re: start values in <ol>

David Dorward schrieb:

>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.
>
>  
>
Well, sth. like

<ol id="first">
</ol>
<ol id="second" continues="first">
</ol>

would be funny. But I'm at least relieved that the "value" attribute
will return and I'm looking forward to the validator supporting XHTML2...

Manuel

Received on Wednesday, 19 October 2005 15:24:19 UTC