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

Re: word-spacing property

From: Stuart Ballard <sballard@netreach.com>
Date: Thu, 14 Nov 2002 10:56:39 -0500
Message-ID: <3DD3C7B7.3010903@netreach.com>
To: Ian Hickson <ian@hixie.ch>
CC: Etan Wexler <ewexler@stickdog.com>, Michel Suignard <michelsu@microsoft.com>, "www-style@w3.org" <www-style@w3.org>

Ian Hickson wrote:
> 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.

I think I agree with this, but I'm not sure you adressed Etan's point 
entirely, because you didn't indicate whether you consider your logic to 
apply to word-spacing as well as white-space-treatment. In my opinion, 
it doesn't: setting word-spacing to none would be something like using a 
font where the space character has zero width: The space character is 
still there (even in the presentation layer) but doesn't have any visual 
representation. In that case I'd expect a paste to include the spaces, 
even if it was pasting from the presentation layer.

Am I right, or crazy?


Stuart Ballard, Programmer
NetReach - Internet Solutions
(215) 283-2300, ext. 126
Received on Thursday, 14 November 2002 10:56:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:04 UTC