[webkit-dev] Why so many text nodes in the DOM? (especially ones with just whitespace)

Alexey Proskuryakov ap at webkit.org
Thu Jun 17 11:37:40 PDT 2010


17.06.2010, в 9:53, Andreas Delmelle написал(а):

> If WebKit chooses, for example, to ignore character events from the  
> parser in nodes where logically it doesn't make sense to have stray  
> characters


That would break e.g. Web sites where JS accesses DOM in ways such as  
node.firstChild.nextSibling, or node.childNodes[3]. We've previously  
seen similar breakage happen after changing WebCore parsing code.

- WBR, Alexey Proskuryakov



More information about the webkit-dev mailing list