RE: FW: NoWrap property [CSS2.1] [css3-text]

I think you are right - that is about whitespace collapsing, not actually nowrap. It helps to define why collapsed whitespace may create a break.

I am still somewhat concerned with saying "When wrapping, line breaking opportunities are determined based on the text prior to the white space collapsing steps above.". Maybe it is irrational, but it is a much broader statement than Robert's reasoning, I am not sure what other effects it could create.

-----Original Message-----
From: fantasai [mailto:fantasai.lists@inkedblade.net]
Sent: Monday, December 08, 2008 7:53 PM
To: Alex Mogilevsky
Cc: robert@ocallahan.org; www-style@w3.org
Subject: Re: FW: NoWrap property [CSS2.1] [css3-text]

Alex Mogilevsky wrote:
> Although you seem to agree with Robert's reasoning, the proposed
> change is different from Firefox behavior (as described by Robert).
>
> The proposed change will allow a break between x and y here
>
>         x<nowrap> </nowrap>y
>
> While Firefox implementation and reasoning does not.

Actually, if you take roc's explanation that a break at a space is
considered to be *at* the space (i.e. inside it) and not before or
after the space character, then it's consistent. Basically a space
is treated like two characters with a breakpoint in between. Given
that interpretation, wrapping <nowrap> around a space then gives
the &nbsp; behavior.

~fantasai

Received on Tuesday, 9 December 2008 04:55:51 UTC