Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-grid] Move stretch of "auto" tracks into the track sizing algorithm
CSS WG has agreed to modify the track sizing algorithm to include a new step: https://drafts.csswg.org/css-grid/#algo-stretch We used to do the stretch of the "auto" tracks at the end of the track sizing algorithm, however this change integrates it into the algorithm itself as the last step. See: w3c/csswg-drafts#1150 The patch moves the method LayoutGrid::ApplyStretchAlignmentToTracksIfNeeded() to GridTrackSizingAlgorithm::StretchAutoTracksIfNeeded(). And then modifies the grid track sizing algorithm to execute the new step. This also modifies the test to check the new expected behavior. BUG=763386 TEST=external/wpt/css/css-grid-1/grid-items/grid-minimum-size-grid-items-021.html Change-Id: Ieb31e822989ae4655d0e632885215e4a032dd445 Reviewed-on: https://chromium-review.googlesource.com/657578 Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com> Reviewed-by: Sergio Villar <svillar@igalia.com> Reviewed-by: Javier Fernandez <jfernandez@igalia.com> Cr-Commit-Position: refs/heads/master@{#501249}
- Loading branch information