[webkit-dev] Why so many text nodes in the DOM? (especially ones with just whitespace)
Matt 'Murph' Finnicum
mattfinn at gmail.com
Thu Jun 17 14:22:28 PDT 2010
Is there a good way to tell which ones will affect rendering?
On Thu, Jun 17, 2010 at 1:51 PM, David Hyatt <hyatt at apple.com> wrote:
> Although it's annoying that these extra whitespace nodes are in the DOM, we
> do at least make sure not to create renderers for them most of the time.
> On Jun 17, 2010, at 1:37 PM, Alexey Proskuryakov wrote:
> > 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
> > That would break e.g. Web sites where JS accesses DOM in ways such as
> node.firstChild.nextSibling, or node.childNodes. We've previously seen
> similar breakage happen after changing WebCore parsing code.
> > - WBR, Alexey Proskuryakov
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev