github web-platform-tests/wpt merge_pr_47578

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

[layout] Fix two aspect-ratio tests.

block-aspect-ratio-042, and block-aspect-ratio-043 were incorrect.
They were incorrectly asserting that transferred max-sizes should
clamp the automatic min-size, but only the in-axis max-size should.

See:
w3c/csswg-drafts#6071 (comment)

"in-axis automatic minimum defers to in-axis constraints only (ignores transferred constraints)"

"max-height: 100px; min-width: auto; uses the auto minimum; the 100px doesn't clamp it."

Fixed: 1343829
Change-Id: Ic11461c89e614a78ef2a043c1fa9e6e00e30b52a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5784541
Reviewed-by: David Grogan dgrogan@chromium.org
Commit-Queue: Ian Kilpatrick ikilpatrick@chromium.org
Cr-Commit-Position: refs/heads/main@{#1340727}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.