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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9711

--- 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