Files
sousa-gecko/testing/web-platform/tests/css/css-flexbox/intrinsic-size
Ian Kilpatrick 9d4f635e6d Bug 2046931 [wpt PR 60561] - [flex] Fix incorrect min/max sizes cache-hit., a=testonly
Automatic update from web-platform-tests
[flex] Fix incorrect min/max sizes cache-hit.

A column wrapping flexbox will use its min-block-size/max-block-size to
wrap items, and change its min/max-sizes.

If the initial-block-size was indefinite, we'd incorrectly hit the
cache. Instead of this skip the cache if we have percent/stretch within
the min/max block-sizes.

We could add a "line-break-size" or similar to the cache key, but for
the moment this is ok.

Fixed: 490318093
Change-Id: Icb1a189a595fa9be11d5b15fcda1f89d9447f4b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7921611
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1645459}

--

wpt-commits: a501ae3c0bd586eebffe6f53c8dbd9a0d13e5924
wpt-pr: 60561
2026-06-16 11:35:50 +00:00
..