[LayoutNG] Fix %-block-size for ComputeMinMaxSizes.
Previously we had two separate issues. 1) We were using border/padding to determine the %-block-size rather than border/scrollbar/padding. 2) For OOF nodes, we weren't subtracting the border/scrollbar/padding at all. This patch fixes both these issues. Bug: 1060904, 1158406 Change-Id: I266d69725c6cecdb0888e29489e46f1a82ffccc6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2641294 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:
Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#845906}
Showing
Please register or sign in to comment