CSSIntrinsicSize: Add LayoutGrid implementation for intrinsic-size.
This patch implements intrinsic-size to work with a grid container. The general strategy is to treat intrinsic-size, if specified in a direction, as size containment in that direction while overriding the correct size. Adds tests for the both intrinsic dimensions specified, as well as only one specified and the other left as legacy to ensure that the correct override is picked in the code. R=rego@igalia.com, chrishtr@chromium.org Bug: 991096 Change-Id: I1eefda7ae5288442716eb19cf945770cba2f1dca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1893734Reviewed-by:Javier Fernandez <jfernandez@igalia.com> Reviewed-by:
Chris Harrelson <chrishtr@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#711936}
Showing
Please register or sign in to comment