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

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