Description[LayoutNG] Fix inline ComputeMinMaxContentSize()
This patch fixes two issues in NGInlineNode::ComputeMinMaxContentSize()
1. The max-content algorithm was incorrect. Fixed to compute the max of
line widths when available width is infinite.
2. Negative text-indent can make min > max. CSSWG test indicates we
should take min of the two values in the case.
BUG=636993
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Review-Url: https://codereview.chromium.org/2974823004
Cr-Commit-Position: refs/heads/master@{#485890}
Committed: https://chromium.googlesource.com/chromium/src/+/c8532b25d4af1355089002e5a7ba913409194d83
Patch Set 1 #
Messages
Total messages: 20 (13 generated)
|