W3C home > Mailing lists > Public > www-style@w3.org > February 2010

Re: [css21] computed value of letter-spacing vs word-spacing

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 11 Feb 2010 18:00:30 +0100
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: "CSS WG" <www-style@w3.org>
Message-ID: <op.u7y2u4sy64w2qv@annevk-t60>
On Thu, 11 Feb 2010 17:54:58 +0100, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 2/11/10 7:09 AM, Anne van Kesteren wrote:
>> While working on getComputedStyle I noticed these are not aligned in
>> their computed value definition. Can we fix that by changing
>> word-spacing to match letter-spacing (I think letter-spacing is more
>> logical) or is there a reason for the difference?
> Well, one obvious difference is that "normal" and "0" actually mean  
> different things for letter-spacing but not for word-spacing, right?

As far as I can tell they mean different things for word-spacing too.  
There is nothing in the definition that suggests they would be the same.  
(Apart from the computed value line.)

Also, FYI, Gecko treats these properties as I suggested ;-) (WebKit does  
the normal = 0 thing.)

Anne van Kesteren
Received on Thursday, 11 February 2010 17:01:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:32 UTC