[LayoutNG] Include close tags after forced break for min-max
r684910 (crrev.com/c/1742250) changed LayoutNG to include close tags after a forced break. This broke an assumption in |NGInlineNode::ComputeMinMaxSize| that there are no objects after a forced break. This patch fixes the min-content size for the situation by applying the same rule to |NGInlineNode::ComputeMinMaxSize|. The test hits DCHECK failure without the fix because the fast code path computes the different max-content from the slow code path. Bug: 991320 Change-Id: I3e9106fddc1fce5a2a7576fc4f75b77b5d4b8b61 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768486 Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#690293}
Showing
Please register or sign in to comment