[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}