layout: Use definite cross size to compute flex base size (#35688)

An intrinsic flex base size depends on the contents, which may depend on
the cross size through an aspect ratio. We were only taking this into
account if the preferred cross size was numeric, but `auto` or `stretch`
can also be definite.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-02-27 14:54:44 +01:00 committed by GitHub
parent 64e227005f
commit 1966ab182f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 110 additions and 27 deletions

View file

@ -1,2 +0,0 @@
[intrinsic-percent-replaced-026.html]
expected: FAIL