[LayoutNG] Implement flexbox item alignment
Moved most of legacy's AlignChildren to the common method FlexLayoutAlgorithm::AlignChildren, to which Legacy and NG pass a callback that contains their respective stretch implementations. One test for baseline alignment regresses. I don't know why. Other tests for baseline alignment still fail, so maybe this test used to pass by accident. R=cbiesinger@chromium.org Bug: 845235 Change-Id: I6e58307d76a6f950017b89a3dcea4aef77c5f067 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1807184 Commit-Queue: David Grogan <dgrogan@chromium.org> Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#701910}
Showing
Please register or sign in to comment