[FlexNG] Teach the OOF-positioned sizing algorithm about "center" static-positions.
Previously we only had to consider "start" and "end" static-positions. If a OOF positioned element is a child of a flexbox which has align-content: center its static-position edge is the center. This adjusts: - StaticPositionStartInset - StaticPositionEndInset - the computed_available_size calculation ... to take "center" static-positions into account. Bug: 845235 Change-Id: Idfc4b301c95c93073e072f7ac53cd9510d887a83 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1930689Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Reviewed-by:
David Grogan <dgrogan@chromium.org> Reviewed-by:
Aleks Totic <atotic@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#721617}
Showing
Please register or sign in to comment