-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GridNG] Second pass for orthogonal grid item contributions
1. Introducing the second pass of the track sizing algorithm to `ComputeMinMaxSizes` (such pass is already implemented in `Layout`); this issue prevented many scenarios to correctly compute a grid container's 'auto' size due to the method only doing the first pass and ignoring whenever any item's inline size was dependent on the block size, which could be different between passes. 2. Refactoring the track sizing algorithm to avoid rebuilding the track collections when doing multiple runs of the track sizing algorithm. Bug: 1045599 Change-Id: I98c48d6f54bde0c1276327841bbf3d911e64f19e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2935011 Commit-Queue: Ethan Jimenez <ethavar@microsoft.com> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#892435}
- Loading branch information
Showing
9 changed files
with
282 additions
and
214 deletions.
There are no files selected for viewing
392 changes: 224 additions & 168 deletions
392
third_party/blink/renderer/core/layout/ng/grid/ng_grid_layout_algorithm.cc
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters