github web-platform-tests/wpt merge_pr_47571

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

[calc-size] Fix grid intrinsic repeat calculation.

Previously during the min/max sizes pass we returned
border/scrollbar/padding as the min-content/max-content sizes for
calculating how many repeaters we have.

This was ~fine, but now with calc-size() we can perform calculations
based on this. This would result in a incorrect calculation (as
demonstrated by the testcase).

Return kIndefiniteSize instead.

Bug: 313072
Change-Id: I4efa890f4ad5ff4df3e4c2f682cd8b49681c7d64
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5778346
Reviewed-by: David Baron dbaron@chromium.org
Commit-Queue: Ian Kilpatrick ikilpatrick@chromium.org
Cr-Commit-Position: refs/heads/main@{#1340685}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.