[layout] Support min-block-size/max-block-size min-content/etc in flex
This patch adds support for things like "max-height: min-content"
within the flex sizing algorithm.
We introduce variants of ResolveMinBlockLength/etc which accept a
function-ref to resolve min-content/etc when required.
We somewhat supported this previously (see previous logic in
ShouldApplyMinSizeAutoForChild), but it wasn't complete.
Bug: 40151761
Change-Id: Ib9f70e70d73732e3694598653d6517619e561454
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5744698
Reviewed-by: David Grogan dgrogan@chromium.org
Commit-Queue: Ian Kilpatrick ikilpatrick@chromium.org
Cr-Commit-Position: refs/heads/main@{#1335087}