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

Re: OL needs the start attribute

From: Michal Marek <michal83@email.cz>
Date: Wed, 16 Oct 2002 19:54:45 +0200
Message-ID: <3DADA7E5.4090906@email.cz>
To: Jonny Axelsson <jax@opera.no>, www-html <www-html@w3.org>

>> Againg, this is another thing, which probably should be available in 
>> the "content" domain. (It would be at least easier to implement in UAs)
> I tend to disagree, if for nothing else due to the variety of strings 
> that authors would want to express. Unlike start/value there is no 
> actual information that is lost if the list is unstyled. -- Jonny Axelsson,
> Web Standards,
> Opera Software

I totaly agree that the numbering described in CSS2 offers much more 
than any markup could.
But I think a boolean attribute telling whether to display the value of 
the parent <li> tag of an ordered list or not would not be so redundant. 
Such listts are used quite often - by the W3C example - to reflect the 
logical structure of the list (which should not depend on the stylesheet).

Compare this markup, where the author has to do the counting /manually/:

   <li>1. some text</li>
   <li>2. blah blah
     <li>2.1. some other text</li>
     <li>2.2. blah blah blah</li>
   <li>3. etc...</li>

with a much simpler and easier-to-edit way:

   <li>some text</li>
   <li>blah blah
   <ol parentval="parentval"> <!-- or another name -->
     <li>some other text</li>
     <li>blah blah blah</li>

Of course, this atribute would be overridden by the stylesheet, but it 
could be also /used/ by the stylesheet (a [parentval] selector), 
especially when writing shared stylesheets.

Michal Marek

Received on Wednesday, 16 October 2002 14:01:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:01 UTC