- From: Cameron McCormack <cam@mcc.id.au>
- Date: Sat, 17 Mar 2012 14:29:56 +1100
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- CC: Sergey Ilinsky <sergey@ilinsky.com>, Doug Schepers <schepers@w3.org>, Chris Lilley <chris@w3.org>, SVG public list <www-svg@w3.org>
Tab Atkins Jr.: > The DOM doesn't throw away white-space at all. That sort of thing > happens solely at the display (CSS) level. In practice the DOM doesn't, but the XML spec allows for it if that's how the XML processor is operating. It's intended to allow for example <a> <b/> </a> to parse without having white space only text nodes be created as children of <a>. xml:space="preserve" turns that behaviour off (if the XML processor would have done it) and says to definitely include it in the DOM.
Received on Saturday, 17 March 2012 03:30:31 UTC