Re: moving from xml:space="" to white-space

On Fri, Mar 16, 2012 at 11:38 AM, Sergey Ilinsky <sergey@ilinsky.com> wrote:
> Isn't there a fundamental difference between XML "xml:space" attribute and
> CSS "white-space" property: the former instructs DOM implementation to
> preserve or not white space characters in the "Content Tree" while the later
> suggests rendering engine to create or not boxes for white space characters
> in the "Render Tree" (in browser terms)?
>
> Given the two mechanisms serve unrelated purposes, neither can be
> deprecated, removed or merged.

The DOM doesn't throw away white-space at all.  That sort of thing
happens solely at the display (CSS) level.

~TJ

Received on Friday, 16 March 2012 18:42:52 UTC