Bug
1794188 [wpt PR 36174] - [css-flex] Fix column-wrap container max < min error with % width item, a=testonly
Automatic update from web-platform-tests
[css-flex] Fix column-wrap container max < min error with % width item (#36174)
When laying out items during column-wrap container max intrinsic sizing,
items with % width were resolving against indefinite, so contributed 0
width.
But during intrinsic sizing, children with % width are supposed to treat
that width as auto, which ComputeMinMaxContributionSizes already
handles.
So instead of letting items resolve their widths _during layout during
intrinsic sizing_, fix items' inline sizes to the their max contribution
size in the various constraint spaces.
Bug: 240765
Change-Id: I8aa16497e759cb6325f6febcab3446328abf9002
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3927803
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1056008}
Co-authored-by: David Grogan <dgrogan@chromium.org>
--
wpt-commits:
639970875c9b766106bd19a768f1821cb88de056
wpt-pr: 36174