[FlexNG] Fix auto scrollbars and scrollable overflow.
In order to get use the correct min/max sizes for flex-items we need to perform a layout *before* calling ComputeMinMaxSize. (This is yet another reason why we should merge the min/max sizes pass with regular layout). Additionally this patch implements the: LayoutBox::HasTopOverflow LayoutBox::HasLeftOverflow methods to correctly calculate the scrollable overflow. Bug: 845235 Change-Id: I3059dfa72969c690abe3808629166194c84fcd75 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1978103 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/master@{#728071}
Showing
Please register or sign in to comment