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

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 UTC