[GridNG] Fixed size child positioning and dump tests
This change implements basic positioning and layout of grid children. It also allows for creation of NGGridLayoutAlgorithm from Blink outside of unit tests, so we now render actual grid content in Chromium for grids with fixed size rows and columns! There is still quite a bit of missing functionality, including for positioning in non-fixed sizes, grid-gap, etc, which will be covered in subsequent changes. This also includes some helper methods for dump tests, along with our first dump test for GridNG. A known limitation of this change is that there must be enough defined rows and columns for child elements. This will no longer be an issue once we handle the TODO comments regarding auto repeaters. For now, I've added additional row/column definitions to the existing tests to avoid this limitation. Bug: 1045599 Change-Id: I9efd14fd44eaf6cac7e93fa05be4c45810e64dd7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2369673 Commit-Queue: Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#802073}
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment