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

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 UTC