Fix 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
Review URL: https://codereview.chromium.org/1370203005
Cr-Commit-Position: refs/heads/master@{#351806}
3 files changed