[Bug 20677] New: Webkit wraps between hyphen�minus and numeric characters
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 5 15:27:18 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20677
Summary: Webkit wraps between hyphenminus and numeric characters
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
URL: http://irowan.com/hyphenminuswrapping.html
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Enhancement
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rowan at irowan.com
Webkit currently treats all hyphenminus characters as a location which can be
wrapped after. In the case of hyphen-minus followed by numeric class
characters, the hyphen-minus almost certainly indicates a negative and this
rule should not be applied.
Very basicbackground: Hyphen-minus ("-") is the ambiguous hyphen/minus/dash
character used on typewriters and computers for general use; most systems
output negative numbers by prepending a hyphenminus in front of the value.
Separating the hyphen-minus from the number by means of a wrap changes the
appearance of a number drastically.
The unicode site/standard/recommendations (I've no idea where on the site this
is located!) includes line breaking rules at
http://www.unicode.org/unicode/reports/tr14/tr14-14.html#Algorithm . Scroll
down to LB18 to see the recommendation for hyphen characters followed by
numeric characters - not recommended.
This would improve the tabular display of numbers greatly. There are however a
few cases where it probably wouldn't be desirable USformatted phone numbers
(0123-456-789), for example.
See URL for a basic example.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list