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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 11 Feb 2010 12:12:57 -0500
Message-ID: <4B743A99.8070309@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: CSS WG <www-style@w3.org>
On 2/11/10 12:00 PM, Anne van Kesteren wrote:
> 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.

Sure there is.  For word-spacing:

normal
     The normal inter-word space, as defined by the current font and/or
     the UA.
<length>
     This value indicates inter-word space in addition to the default
     space between words.

So if <length> is used and is 0, that means the normal inter-word space.

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

May I suggest updating to Firefox 3.6 before proceeding with more Gecko 
testing?  ;) [1]

-Boris

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=470705
Received on Thursday, 11 February 2010 17:13:33 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:24 GMT