layout: Ignore indefinite stretch on min and max sizing properties (#35630)

We were always treating an indefinite `stretch` as the automatic size.
This instead treats it as `0px` on min sizing properties, and as `none`
on max sizing properties, aligning with Blink and this recent CSSWG
resolution: https://github.com/w3c/csswg-drafts/issues/11006

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-02-24 14:51:08 +01:00 committed by GitHub
parent e74bb8de15
commit 41c2422a66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 266 additions and 145 deletions

View file

@ -125,20 +125,29 @@
[.test 59]
expected: FAIL
[.test 60]
[.test 66]
expected: FAIL
[.test 61]
[.test 67]
expected: FAIL
[.test 62]
[.test 68]
expected: FAIL
[.test 63]
[.test 69]
expected: FAIL
[.test 64]
[.test 70]
expected: FAIL
[.test 65]
[.test 71]
expected: FAIL
[.test 72]
expected: FAIL
[.test 73]
expected: FAIL
[.test 74]
expected: FAIL

View file

@ -131,20 +131,20 @@
[.test 54]
expected: FAIL
[.test 60]
[.test 69]
expected: FAIL
[.test 61]
[.test 70]
expected: FAIL
[.test 62]
[.test 71]
expected: FAIL
[.test 63]
[.test 72]
expected: FAIL
[.test 64]
[.test 73]
expected: FAIL
[.test 65]
[.test 74]
expected: FAIL

View file

@ -1,3 +0,0 @@
[indefinite-2.html]
[[data-expected-client-height\] 1]
expected: FAIL

View file

@ -1,3 +0,0 @@
[indefinite-3.html]
[[data-expected-client-height\] 1]
expected: FAIL