[layout] Support min-height:min-content in more general case.
This patch implements min-height:min-content (and friends)for all
other layout modes (we already have this for flex, replaced, and
abspos).
This does this by passing the BlockSizeFunc lambda into our
ComputeMinMaxBlockSizes function.
Bug: 40151761
Change-Id: I2cec527a69a6d03cbea989d75e9621b3db1817d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5754962
Reviewed-by: David Grogan dgrogan@chromium.org
Commit-Queue: Ian Kilpatrick ikilpatrick@chromium.org
Cr-Commit-Position: refs/heads/main@{#1338169}