Whitespace nodes most commonly occur between elements, so they can't be 
coalesced.

dave

On Jun 14, 2010, at 7:00 PM, Matt 'Murph' Finnicum wrote:

> Why are there so many Text nodes in the DOM? I had a look at the initial DOM 
> tree from rendering slashdot, and there are 1959 Text nodes. Of those 1959, 
> 1246 were whitespace-only nodes.
> 
> Does there need to be this many nodes? Why can't whitespace be combined with 
> the nodes next to it?
> 
> Thanks,
> --Murph
> _______________________________________________
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to