Enable min-content, max-content, fit-content and stretch (#33492)

For the sizing properties.

We don't actually support them yet, just treating them as
the initial value.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Oriol Brufau 2024-09-20 16:48:27 +02:00 committed by GitHub
parent 4bde9af515
commit 9597390d2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
66 changed files with 120 additions and 2798 deletions

View file

@ -1,9 +0,0 @@
[flex-basis-computed.html]
[Property flex-basis value 'fit-content']
expected: FAIL
[Property flex-basis value 'min-content']
expected: FAIL
[Property flex-basis value 'max-content']
expected: FAIL

View file

@ -1,9 +0,0 @@
[flex-basis-valid.html]
[e.style['flex-basis'\] = "fit-content" should set the property value]
expected: FAIL
[e.style['flex-basis'\] = "min-content" should set the property value]
expected: FAIL
[e.style['flex-basis'\] = "max-content" should set the property value]
expected: FAIL

View file

@ -1,24 +0,0 @@
[flex-shorthand.html]
[e.style['flex'\] = "0 fit-content" should set flex-basis]
expected: FAIL
[e.style['flex'\] = "0 fit-content" should set flex-grow]
expected: FAIL
[e.style['flex'\] = "0 fit-content" should set flex-shrink]
expected: FAIL
[e.style['flex'\] = "0 fit-content" should not set unrelated longhands]
expected: FAIL
[e.style['flex'\] = "1 0 max-content" should set flex-basis]
expected: FAIL
[e.style['flex'\] = "1 0 max-content" should set flex-grow]
expected: FAIL
[e.style['flex'\] = "1 0 max-content" should set flex-shrink]
expected: FAIL
[e.style['flex'\] = "1 0 max-content" should not set unrelated longhands]
expected: FAIL