Re: [css3-text] collapsed space break opportunities

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 UTC