W3C home > Mailing lists > Public > www-style@w3.org > December 2008

Re: FW: NoWrap property

From: Philip TAYLOR (Ret'd) <P.Taylor@Rhul.Ac.Uk>
Date: Thu, 04 Dec 2008 09:09:23 +0000
Message-ID: <49379E43.70304@Rhul.Ac.Uk>
To: Alex Mogilevsky <alexmog@microsoft.com>
CC: "www-style@w3.org" <www-style@w3.org>



Alex Mogilevsky wrote:

> We are trying to decide on what is the best behavior for line wrapping 
> on the boundary of “whitespace:nowrap”. CSS2.1 spec is clear that it 
> **doesn’t** define line wrapping algorithms. It would be ideal however 
> to choose what is preferable.

> The particular question we want to answer is:

> “If there is break opportunity between NoWrap span and following 
> character, does NoWrap span prohibit it?”

I cannot see why it should.  The "nowrap" applies
to the limits of the span, not to anywhere beyond those
limits.  Thus assuming that there is no outer reason to
prohibit breaking at the following break opportunity,
then the renderer should be free to exploit it.

Philip TAYLOR
Received on Thursday, 4 December 2008 09:10:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:17 GMT