[whatwg] <p> elements containing other block-level elements

Anne van Kesteren wrote:
> Ian Hickson wrote:
>>   <p>
>>    ...
>>    <ol>
>>     <li>...</li>
>>    </ol>
>>   </p>
> 
> If OL is an inline element here, sure.

Whether or not it is rendered as block or inline within paragraphs can 
be quite easily handled with CSS.  Lists should not be classified as 
block level or inline level elements within the spec.

ol, ul { display: block }
li { display: list-item; }
p ol, p ul, p li { display: inline }

-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/     Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox

Received on Thursday, 7 April 2005 09:07:12 UTC