Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FlexNG] MinBlockSizeShouldEncompassIntrinsicSize for flex rows
Update the MinBlockSizeShouldEncompassIntrinsicSize() calculation for flex row items to check if the container has an auto block-size in addition to whether or not the cross-size of the item would be the container size. Otherwise, we would fail to correctly expand due to fragmentation in some cases. See CL:3600998 for where the original logic was added. Bug: 1409030 Change-Id: I45b5455f16c84e0d409ebbfa3bf1b0994aff2feb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4193452 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Alison Maher <almaher@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1097496}
- Loading branch information