Fix to wrap at the hyphenation point at the line end edge
|ShapingLineBreaker::Hyphenate| should look for hyphenation points at the line edge or after, but it did not include the character at the line edge. This patch fixes this. This occurs often when `fit-content` inline size is used. Also changes the test to use Ahem because Win uses U+2010 HYPHEN instead of U+002D HYPHEN-MINUS, but other platforms use U+002D. Bug: 1140738 Change-Id: I5e1157de07b58edddb92c6c80ff8df460fc064b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485352Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#819201}
Showing
Please register or sign in to comment