- From: Simon Pieters <zcorpan@hotmail.com>
- Date: Wed, 25 Jan 2006 13:21:36 +0000
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 UTC