[FlexNG] Fix abspos legacy flex sandwich
Previously, if a legacy abspos child of an NG flexbox had a legacy containing block, it could be positioned incorrectly. This CL copies the staticpos logic from legacy flex, with a few minor simplifications. There's little refactoring of legacy to share code. Legacy continues to mostly rely on methods in LayoutFlexibleBox that the new code can't use. I don't want to risk altering legacy's behavior here, especially considering this might be merged to 84. Bug: 845235, 1066859 Change-Id: Ic07ed9e3fe5febe72981b47b0bacbc2b33691c71 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2222112Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Commit-Queue: David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/master@{#778008}
Showing
Please register or sign in to comment