W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: [css3-text] collapsed space break opportunities

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 09 Jan 2012 17:21:27 -0800
Message-ID: <4F0B9297.3060006@inkedblade.net>
To: www-style@w3.org
On 01/09/2012 02:39 PM, Ambrose LI wrote:
> 2012/1/7 fantasai<fantasai.lists@inkedblade.net>:
>> I can see a logical argument for
>>   * allowing any of the points where a space existed to be a wrap point, or
>>   * saying that when a breakable space collapses with a non-breakable one,
>>     the collapsed space is breakable.
>>
>> Thoughts?
>>
>> I'll note Firefox and Opera seem to wrap right before B, even if I forbid
>> it:
>>   <p><nowrap>A</nowrap>  <em>  </em>  <nowrap><em>  </em>  B</nowrap>
>> (WebKit just refuses to render the empty inlines.)
>
> If a non-breakable space collapses with a breakable one, shouldn’t the
> space that remains be non-breakable?

No. See the first part of the discussion:
   http://lists.w3.org/Archives/Public/www-style/2012Jan/0408.html
That first example must have a breakpoint after the nbsp.

~fantasai
Received on Tuesday, 10 January 2012 01:22:00 GMT

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