github web-platform-tests/wpt merge_pr_47379

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-height:min-content/etc on replaced elements.

This adds support for min-height:min-content on replaced elements.

If we don't have an aspect ratio we just return the natural-size.
If we do have an aspect ratio - we calculate the replaced size, but
ignore all the block-constraints (similar to the inline axis).

We may revisit this function, e.g:
kNormal -> kIgnoreBlockLengths -> kIgnoreInlineLengths
so return kIndefiniteSize in that case.

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

Don't miss a new wpt release

NewReleases is sending notifications on new releases.