W3C home > Mailing lists > Public > www-style@w3.org > March 2001

Re: Nested Lists and adjacent bullets

From: Ann Navarro <ann@webgeek.com>
Date: Fri, 2 Mar 2001 11:16:13 -0500 (EST)
Message-Id: <4.3.1.2.20010302111455.00cd2c20@mail.webgeek.com>
To: www-style@w3.org
Tantek mentioned back in June:

Date: Tue, 13 Jun 2000 14:47:46 -0700
From: "Tantek Celik" <tantek@cs.stanford.edu>
To: Ian Hickson <py8ieh=mozilla@bath.ac.uk>, "www-style" <www-style@w3.org>
CC: Robert Stevahn <rstevahn@boi.hp.com>, glazou_2000@yahoo.fr
Message-ID: <1251189637-180300346@psdbay.com>
Subject: Re: Nested Lists and adjacent bullets

From: Ian Hickson <py8ieh=mozilla@bath.ac.uk>
Date: Tue, Jun 13, 2000, 1:45 PM

<snip>

 > All fine and good so far. However, if you have the nested list as the
 > first node of the outer list, you end up with this:
 >
 >    Document:
 >
 >       <ol>
 >         <li>
 >           <ol>
 >             <li>
 >               <p>bar</p>
 >             </li>
 >           </ol>
 >         </li>
 >       </ol>
 >
 >
 >    Frame construction:
 >
 >       +<ol>--------------------------------------+
 >       |       +<li>----------------------------+ |
 >       |       | +<ol>------------------------+ | |
 >       |       | |       +<li>--------------+ | | |
 >       | +---+ | | +---+ | +<p>-----------+ | | | |
 >       | | 1 | | | | 1 | | | bar          | | | | |
 >       | +---+ | | +---+ | +--------------+ | | | |
 >       |       | |       +------------------+ | | |
 >       |       | +----------------------------+ | |
 >       |       +--------------------------------+ |
 >       +------------------------------------------+
 >
 >
 >    Rendering:
 >
 >       1 1 bar

FWIW, this is how IE5/Mac renders the above markup.  Actually, with periods
after the numbers, more like this:

         1. 1. bar

--------

This rendering in IE5/Mac is erroneous.

LI is a block element, and should in no way be presented, by default, in a 
horizontal fashion. The result should have been

1.

       1.  bar


Ann Navarro
(reporting consensus from the WG)
--
Ann Navarro
Author and Chief Geek, WebGeek, Inc.
http://www.webgeek.com
Now in Print! XHTML By Example - http://www.webgeek.com/books/
What am I thinking? http://www.snorf.net/blog/	
Received on Saturday, 3 March 2001 18:01:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:08 GMT