W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] Tag Soup: Blocks-in-inlines

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 25 Jan 2006 11:49:40 +0100
Message-ID: <20060125114940.j04rnn9oer2o88wk@webmail.annevankesteren.nl>
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

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