W3C home > Mailing lists > Public > www-style@w3.org > September 2011

Re: [css3-text] Couple of word-spacing issues

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 28 Sep 2011 13:01:29 -0400
Message-ID: <4E8352E9.8030305@mit.edu>
To: www-style@w3.org
On 9/28/11 12:53 PM, Lev Solntsev wrote:
> 2. Opera and IE doesn't allow the word-spacing property to shrink
> white-space less then a zero. Again there is no definition anywhere

http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing clearly says:

   Values may be negative, but there may be implementation-specific
   limits.

In other words, UAs can do whatever the hell they feel like with 
negative word-spacing.

> but probably that's good idea, since different fonts have different space
> width (notably monospace fonts), and it can be unpredictable due to font
> substitution.

I guess the question here is what use cases word-spacing (esp. negative 
word-spacing) is actually used for.

-Boris
Received on Wednesday, 28 September 2011 17:02:09 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:04 UTC