[Webkit-unassigned] [Bug 20677] WebKit wraps between hyphen-minus and numeric characters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 12 14:59:50 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=20677





--- Comment #27 from Rowan Beentje <rowan at irowan.com>  2011-01-12 14:59:49 PST ---
Is it easy to achieve different wrapping behaviour based on the preceding character in addition to the following character?

For example, I think most people will agree that "-1,234.56789" shouldn't wrap, under ideal circumstances.  At the moment, it wraps to the following:

-
1,234.56789

…not ideal.

The case is more mixed when there's characters preceding the hyphen-minus as well as following the hyphen-minus.  For example, currently 12345-67890 wraps to:

12345-
67890

This looks fine to me - in fact, here the hyphen-minus makes a natural break point anyway, and the meaning isn't lost.

The spec does suggest that neither case should wrap, but I suspect the mention of HY × NU is intended for the first case, if you'd rather follow the spirit than the letter :)

This would fix numbers in tables but leave URLs to wrap (which is another common table/wrapping bugbear due to long url-encoded strings!)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list