[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. This patch applies the same fix as r570350 (CL:1113094) to NGInlineNode. Bug: 636993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I5495e56fb3cf6777a4fd308b61f5eb6e484d03af Reviewed-on: https://chromium-review.googlesource.com/1138594 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#575389}
Showing
Please register or sign in to comment