[whatwg] Tag Soup: Blocks-in-inlines

Anne van Kesteren fora at annevankesteren.nl
Wed Jan 25 02:49:40 PST 2006


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/>




More information about the whatwg mailing list