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

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

From: Lev Solntsev <greli@mail.ru>
Date: Thu, 29 Sep 2011 13:18:08 +0400
To: www-style@w3.org
Message-ID: <op.v2kb4i0m39dhqv@lev-nb>
fantasai <fantasai.lists@inkedblade.net> wrote:

> On 09/28/2011 09:53 AM, Lev Solntsev wrote:
>> Hello!
>>
>> 1. Gecko, Presto and Trident handle spaces between inline-blocks by the  
>> word-space
>>    property, but Webkit doesn't. It does by the letter-spacing property  
>> which, I
>>    believe, is wrong, since inline-blocks behavior is more words alike  
>> then glyphs.
>>
>> However, that isn't defined anywhere in CSS, so probably it's good idea  
>> to define that somewhere?
>
> It is already defined.
> http://www.w3.org/TR/CSS21/text.html#spacing-props
>    # Word spacing affects each space (U+0020) and non-breaking space  
> (U+00A0),
>    # left in the text after the white space processing rules have been  
> applied.
>
> This means that
>
> <inline-block/><inline-block/> will only be affected by letter-spacing,  
> whereas
> <inline-block/> <inline-block/> will be affected by word-spacing.

Thanks! Didn't take an attention to that text. I've filed a bug to webkit
based on your answer: https://bugs.webkit.org/show_bug.cgi?id=69072

Probably the attached testcase is worth adding to CSS test suite:
https://bugs.webkit.org/attachment.cgi?id=109135
I didn't found according test before.
Received on Thursday, 29 September 2011 09:18:34 GMT

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