W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

[whatwg] Interaction of <wbr> and CSS white-space

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 16 May 2011 18:02:13 -0700
Message-ID: <BANLkTikywRTE-U3-OfLuqTHM_K6NMadmAA@mail.gmail.com>
On Mon, May 16, 2011 at 5:34 PM, Aryeh Gregor <Simetrical+w3c at gmail.com> wrote:
> On Mon, May 16, 2011 at 7:27 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
>> Whether to prioritize is a CSS issue. ?Whether there's a breakpoint at all
>> after the 'f' in the string "y = f(1)" is a quality of implementation issue,
>> imo.
>
> Slightly tangential, but I once saw a page that displayed fine in
> Gecko but broke horribly in WebKit because of the difference in
> line-breaking algorithms. ?There was a really long string in a user
> comment which Gecko broke over multiple lines but WebKit treated as
> unbreakable, with the result that WebKit stretched the page so it was
> unreadable. ?I think it would be pretty nice if we were to spec
> line-breaking behavior -- UAX#14 specifies an algorithm that, as far
> as I can tell, is reasonably simple and much better than any browser
> now has. ?(Although I can't say whether it would be acceptable for
> performance or other considerations.)

I suspect you're thinking of the site I filed a bug against Webkit
for: <https://bugs.webkit.org/show_bug.cgi?id=41103>

~TJ
Received on Monday, 16 May 2011 18:02:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:33 UTC