[Webkit-unassigned] [Bug 108347] CSS3 'word-break: break-all' spoils CJK line-break restrictions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 17 22:25:41 PDT 2013


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





--- Comment #23 from murakami at antenna.co.jp  2013-03-17 22:28:07 PST ---
I am reconsidering what I wrote,
"The expected behavior for break-all mode can be obtained by treating 
all AL, HL, NU and AI(Ambiguous) characters same as ID (Ideographic)."
This is not consistent with what CSS3 Text spec saying:

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

Note that the term 'letter' here is defined in the CSS3 Text as,
http://www.w3.org/TR/css3-text/#letter0
    A letter for the purpose of this specification is a character 
    belonging to one of the Letter or Number general categories in 
    Unicode. [UAX44] 

In this break-all definition, there is no break opportunity in "a(b)c", 
"b(ス)c" and "o.w" because the characters '(', ')' and '.' are not 
belonging to the letter categories and the break-all permits only
between two letters.

I'm sorry if I made a confusion.
The "After Changes" result now seems to be conform to the spec.
However, you should also test with Numbers (the 'letter' in CSS3 Text
includes numbers). For example, "12", "A3" and "4β" must be
breakable in the 'break-all' mode.

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