W3C home > Mailing lists > Public > www-style@w3.org > November 2002

Re: word-spacing property

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 14 Nov 2002 15:48:21 +0000 (GMT)
To: Etan Wexler <ewexler@stickdog.com>
Cc: Michel Suignard <michelsu@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.21.0211141545270.18627-100000@dhalsim.dreamhost.com>

On Thu, 14 Nov 2002, Etan Wexler wrote:
> 
> The 'white-space-treatment' property has license to change the characters
> underlying a presentation.  The 'word-spacing' property has license only to
> change the presentation, as in the glyphs and metrics used.  If I have an
> element with "word-spacing: none" and I perform a copy operation and then
> paste, I better get the spaces with the rest of the text.

white-space-treatment doesn't change the DOM. Whether copying comes from
the DOM or the final presentation is left up to the UA. If it comes from
the presentation, you'll get no spaces, you'll just get a text mode
representation of the screen. If it comes from the DOM, you'll get all the
original spaces and line breaks.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 14 November 2002 10:48:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:17 GMT