layout: Support stretch cross size for automatic min size in flexbox (#35652)

The computation of the automatic minimum size may involve transferring
a definite cross size into the main axis through the aspect ratio.
We were only considering numeric sizes as definite, but `stretch` can
also be definite.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-02-26 17:30:36 +01:00 committed by GitHub
parent 9d5171f3c5
commit 6aae4df909
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 93 additions and 5 deletions

View file

@ -246687,6 +246687,32 @@
{}
]
],
"flexbox-auto-minimum-001.html": [
"626b18deae189b3c97c106968758164405786941",
[
null,
[
[
"/css/reference/ref-filled-green-200px-square.html",
"=="
]
],
{}
]
],
"flexbox-auto-minimum-002.html": [
"d5e590346ee36a7cb613e6fa89c1c999c2cccfb5",
[
null,
[
[
"/css/reference/ref-filled-green-200px-square.html",
"=="
]
],
{}
]
],
"min-width-1.html": [
"a1a39073e88d4626be7c469611e3593415849e7a",
[