Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix check failure at LineBreaker::HandleTextForFastMinContent
The DCHECK_EQ fails, because sometimes the decoration width of elements with `box-decoration-break` is zero, so `position_` will be equal to `indent`, and the value of `should_break_at_first_opportunity` will be false. `has_cloned_box_decorations_` is true. So the DCHECK_EQ fails. Bug: 362530623 Change-Id: I4523c16089326340c4bab88ae3b674ccb0bdd9ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5873209 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Auto-Submit: cathie chen <cchen@igalia.com> Cr-Commit-Position: refs/heads/main@{#1367328}
- Loading branch information