[LayoutNG] Fix max-content size when floats are outside of content box
This patch fixes max-content size when the line has floats outside of its content box. In such case, ComputeContentSize computes a negative value for |floats_inline_size|. Such |floats_inline_size| should not affect max-content size. Bug: 636993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: Ie3076c1a135a8bf00a264f7275abb19ef1392864 Reviewed-on: https://chromium-review.googlesource.com/1113094Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#570350}
Showing
Please register or sign in to comment