Reviewers: cbiesinger, svillar, Manuel Rego
CL:
https://codereview.chromium.org/2176533002/Message:
Patch ready for review.
Description:
[css-grid] Implementing stretch alignment in orthogonal flows
After implementing orthogonal flow support for track sizing and basic
alignment logic, we can now implement stretching logic in orthogonal
scenarios, which was not allowed so far.
Thanks to the recent changes which made the grid layout code more
independent to the grid container's and its children's flow the
implementation of the stretching logic can be done in a clearer way.
This patch implements the missing logic and performs some refactoring
so it became flow direction independent.
BUG=556171, 445742, 376823
Base URL:
https://chromium.googlesource.com/chromium/src.git@masterAffected files (+136, -14 lines):
A third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-align-justify-stretch-with-orthogonal-flows.html
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp