[FlexNG] Resolve lengths within ConstructAndAppendFlexItems using IntrinsicBlockSize.
Previously we resolved lengths within ConstructAndAppendFlexItems using the block-size from the initial fragment layout. This resulted in under/over sized flex-items. This changes the calls to use NGLayoutResult::IntrinsicBlockSize instead. This also changes a few of the calls to use just border_padding, instead of border_scrollbar_padding. Bug: 845235 Change-Id: Ib332d1c68b2e99c13715a4ee9bda79868695df31 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986857 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:
David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/master@{#728244}
Showing
Please register or sign in to comment