DescriptionFix line break opportunities between HYPHEN-MINUS and closing punctuation
This patch fixes not to break between HYPHEN-MINUS and closing
punctuation characters by following UAX#14 LB13[1].
U+002D HYPHEN-MINUS:
* wkb.ug/37698 changed to allow break after it all the time.
* wkb.ug/20677 fixed HYPHEN-MINUS + DIGIT/PERIOD not to break.
This leaves the break opportunities before closing punctuation
characters such as ")".
UAX#14 LB13[1] defines character classes not to break before. Adding
this rule matches the behavior for these characters to IE11.
[1] http://unicode.org/reports/tr14/#LB13
BUG=531409
Committed: https://crrev.com/40da64cedd00110bbfa39449ce72b777d930b001
Cr-Commit-Position: refs/heads/master@{#351806}
Patch Set 1 : Test and result before patch #Patch Set 2 : Fix #
Messages
Total messages: 7 (2 generated)
|