layout: Fix align-content on stretched row flex containers (#37024)

Fixes a regression from #36973, which didn't take into account that
stretching flex items affects their final block size when the cross axis
is the block axis.

Testing: Adding new test
Fixes: #37023

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-05-16 12:15:16 -07:00 committed by GitHub
parent c1a70f4eb2
commit 78f3f455dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 38 additions and 4 deletions

View file

@ -181140,7 +181140,7 @@
{}
]
],
"stretched-child-in-nested-flexbox.html": [
"stretched-child-in-nested-flexbox-001.html": [
"325d79e7c63f3e301c21f53f8bc97b48ae15c6b5",
[
null,
@ -181153,6 +181153,19 @@
{}
]
],
"stretched-child-in-nested-flexbox-002.html": [
"9a00b3c40a35ca6c80965d6266252489e18b665d",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"stretching-orthogonal-flows.html": [
"acaa787faf657b76a5b213fb9203088d5d28f4c4",
[