Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[balance-text] Fix when
text-align
is not left
The `NGParagraphLineBreaker` adjusts the available width for the `NGLineBreaker`, but the adjustments should not be visible for `CreateLine` because it is used for aligning lines within the original available width. This patch restores the `line_opportunity` after the `NGLineBreaker` is done. Bug: 1251079 Change-Id: I83cdf1c120a6de0741180a27d7860ef8b70475cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4304620 Auto-Submit: Koji Ishii <kojii@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/main@{#1112644}
- Loading branch information