Include empty text item after forced break into the line
When |NGLineBreaker| finds a forced break, it includes following close-tags but not empty text items. This caused an additional empty line when there are spaces before/after the close-tags, which causes the `widows` property to count the empty lines. This patch changes |NGLineBreaker| to include them as well. Bug: 1156773 Change-Id: Id01966dd57dce3185d384544e9af662fd43917c2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584431Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#836547}
Showing
Please register or sign in to comment