[whatwg] Tag Soup: Blocks-in-inlines

Quoting Lachlan Hunt <lachlan.hunt at lachy.id.au>:
> 1.
> <em><p>X</em>Y</p>
>
> BODY
>   + P
>     + EM
>       + #text: X
>     + #text: Y
>
> The theory is that any inline elements

This gives problems for new elements I assume... We already have a 
problem with
<header><h1>test</h1></header>...


> 2.
> <em><p>XY</p></em>
>
> BODY
>   + P
>     + EM
>       + #text: X
>       + #text: Y

And this likely breaks existing content. Perhaps not for EM, but certainly for
other inline elements, like <span>.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Wednesday, 25 January 2006 02:49:40 UTC