[Webkit-unassigned] [Bug 108347] New: CSS3 'word-break: break-all' spoils CJK line-break restrictions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 30 08:44:04 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=108347
Summary: CSS3 'word-break: break-all' spoils CJK line-break
restrictions
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: murakami at antenna.co.jp
CSS3 Text 'word-break: break-all' has the following definition:
‘break-all’
In addition to ‘normal’ soft wrap opportunities, lines may break
between any two letters (except where forbidden by the ‘line-break’
property). Hyphenation is not applied. This option is used mostly
in a context where the text is predominantly using CJK characters
with few non-CJK excerpts and it is desired that the text be better
distributed on each line.
However, in the current WebKit implementation, 'word-break: break-all'
does not only allow line-break between non-CJK letters but also
spoils any line-break restrictions, e.g., opening brackets at end of
line, and closing brackets or comma/fullstops at beginning of line.
A test of 'word-break: all':
http://nadita.com/test/wordbreak/word-break-all.html
Wrong result (Chrome 25):
http://nadita.com/test/wordbreak/webkit.png
Expected result (IE9):
http://nadita.com/test/wordbreak/ie.png
--
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