W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

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

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 08 Apr 2005 10:53:29 +0200
Message-ID: <42564689.9030808@annevankesteren.nl>
Matthew Thomas wrote:
>>> Lists should not be classified as block level or inline level
>>> elements within the spec.
>>
>> I think they should. (Note that block and inline are different here from
>> the definition CSS applies to them.) That way they get another content
>> model that might be more suited for inline situations.
>
> You mean perhaps a content model like this? <p>For this recipe you need 
> <ul><li>an egg</li>, <li>flour</li>, and <li>butter</li></ul>. Mix it 
> all together and so forth.</p>

'an' should be outside the LI element I guess and I'm not sure if this 
is the right approach but it looks cool. (Agreed that only a few would 
use it.)


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Friday, 8 April 2005 01:53:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:22 UTC