W3C home > Mailing lists > Public > www-svg@w3.org > March 2012

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 16 Mar 2012 11:42:03 -0700
Message-ID: <CAAWBYDCgYcPrFX-jo+K-fM2mnA0j_aWrEoNYBAFciL2kdOaV=g@mail.gmail.com>
To: Sergey Ilinsky <sergey@ilinsky.com>
Cc: Doug Schepers <schepers@w3.org>, Chris Lilley <chris@w3.org>, Cameron McCormack <cam@mcc.id.au>, SVG public list <www-svg@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:50 GMT