I was trying to understand the two principles from the previous messageā¦ Both make sense, but why just using one of them would not be enough?
E.g. why did you decide that <nowrap> has to remove break opportunity after space but not after a dash (as in attached example)?
From: rocallahan@gmail.com [mailto:rocallahan@gmail.com] On Behalf Of Robert O'Callahan
Sent: Monday, December 08, 2008 1:13 PM
To: Alex Mogilevsky
Cc: fantasai; Bjoern Hoehrmann; www-style@w3.org
Subject: Re: FW: NoWrap property
On Tue, Dec 9, 2008 at 9:22 AM, Alex Mogilevsky <alexmog@microsoft.com<mailto:alexmog@microsoft.com>> wrote:
That is one way to look at it.
Another is to say "text within <nowrap> loses its wrapping capabilities". That would greatly simplify boundary issues. It would make <nowrap>_space_</nowrap> behave as non-breaking space which may sometimes be surprising but logical and consistent.
These aren't mutually exclusive, see my previous message. In Gecko we have your preferred behaviour for spaces and fantasai's preferred behaviour for other characters.
Rob
--
"He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]