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

[whatwg] Tag Soup: Blocks-in-inlines

From: Simon Pieters <zcorpan@hotmail.com>
Date: Wed, 25 Jan 2006 13:21:36 +0000
Message-ID: <BAY109-F28653EF621EFA4D65B2214B4120@phx.gbl>
Hi,

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
>Because there were no text nodes between the <em> start-tag and the <p> 
>start tag, so putting it in there would be completely redundant and 
>useless.  Although putting it there will have no detrimental effect beyond 
>wasting a minuscule amount of memory, so it really doesn't matter.

When do you insert the EM element node to the DOM? Should the parser wait 
with inserting it until it knows what comes next? I think it makes more 
sense to just insert the element when you have parsed the start tag, 
regardless of what comes next.

Regards,
Simon Pieters
Received on Wednesday, 25 January 2006 05:21:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:34 GMT