W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2011

[Bug 9711] <wbr> must not override white-space:pre (or differ from Zero Width Space in any other needless way)

From: <bugzilla@jessica.w3.org>
Date: Mon, 04 Jul 2011 09:36:51 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QdfaF-0002nA-3I@jessica.w3.org>

--- Comment #5 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-07-04 09:36:50 UTC ---
(In reply to comment #0)

> In testing, I found that Gecko and
> WebKit allow <wbr> to override white-space: nowrap, but not white-space: pre."

Actually, despite that you challenge the spec text, your picture of the facts
is incorrect and thus far too positive (towards the current spec text).

FIRSTLY: Reality is that Firefox 5  does *not* behave as you say. That is:
<wbr> does not override white-space:nowrap in FIrefox 5.  Thus Webkit,
Konqueror and IE in quirks-mode are alone in showing this behaviour. 

Test: http://malform.no/testing/html5/nobr#nowrap

SECONDLY: Although Webkit does perform some kind of line break for <wbr> inside
white-space:pre, it is difficult to understand what kind of logics it uses.
Apparently, it only breaks the *last* <wbr>, if there is more than one. Note as
well, that IE in Quirks-Mode does *not* allow <wbr> to cause a line break. 

Test: http://malform.no/testing/html5/nobr#pre

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 4 July 2011 09:36:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:55 UTC