github web-platform-tests/wpt merge_pr_47367

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
5 months ago

[layout] Support min-block-size/max-block-size min-content/etc in flex

This patch adds support for things like "max-height: min-content"
within the flex sizing algorithm.

We introduce variants of ResolveMinBlockLength/etc which accept a
function-ref to resolve min-content/etc when required.

We somewhat supported this previously (see previous logic in
ShouldApplyMinSizeAutoForChild), but it wasn't complete.

Bug: 40151761
Change-Id: Ib9f70e70d73732e3694598653d6517619e561454
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5744698
Reviewed-by: David Grogan dgrogan@chromium.org
Commit-Queue: Ian Kilpatrick ikilpatrick@chromium.org
Cr-Commit-Position: refs/heads/main@{#1335087}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.