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:18:43 +0100
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: "CSS WG" <www-style@w3.org>
Message-ID: <op.u7y3phy264w2qv@annevk-t60>
On Thu, 11 Feb 2010 18:12:57 +0100, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> 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]
>
> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=470705

Ah cool! So all browsers agree and I should read CSS 2.1 more carefully  
next time around.

(Ubuntu unfortunately does not update to the latest Firefox releases and  
although I have 3.7xxx or some such installed I sometimes forget to use  
it. Starting it up now :-))


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 11 February 2010 17:19:22 GMT

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