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

@ -269,90 +269,6 @@
[Web Animations: property <width> from [auto\] to [40px\] at (1.5) should be [40px\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [auto\] to [fit-content\] at (-0.3) should be [auto\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [auto\] to [fit-content\] at (0) should be [auto\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [auto\] to [fit-content\] at (0.3) should be [auto\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [auto\] to [fit-content\] at (0.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [auto\] to [fit-content\] at (0.6) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [auto\] to [fit-content\] at (1) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [auto\] to [fit-content\] at (1.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [auto\] to [fit-content\] at (-0.3) should be [auto\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [auto\] to [fit-content\] at (0) should be [auto\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [auto\] to [fit-content\] at (0.3) should be [auto\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [auto\] to [fit-content\] at (0.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [auto\] to [fit-content\] at (0.6) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [auto\] to [fit-content\] at (1) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [auto\] to [fit-content\] at (1.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [auto\] to [fit-content\] at (-0.3) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [auto\] to [fit-content\] at (0) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [auto\] to [fit-content\] at (0.3) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [auto\] to [fit-content\] at (0.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [auto\] to [fit-content\] at (0.6) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [auto\] to [fit-content\] at (1) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [auto\] to [fit-content\] at (1.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [auto\] to [fit-content\] at (-0.3) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [auto\] to [fit-content\] at (0) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [auto\] to [fit-content\] at (0.3) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [auto\] to [fit-content\] at (0.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [auto\] to [fit-content\] at (0.6) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [auto\] to [fit-content\] at (1) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [auto\] to [fit-content\] at (1.5) should be [fit-content\]]
expected: FAIL
[CSS Animations: property <width> from [auto\] to [fit-content\] at (-0.3) should be [auto\]]
expected: FAIL
@ -530,18 +446,6 @@
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [30px\] to [fit-content\] at (0.3) should be [30px\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [30px\] to [fit-content\] at (0.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [30px\] to [fit-content\] at (0.6) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [30px\] to [fit-content\] at (1) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [30px\] to [fit-content\] at (1.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [30px\] to [fit-content\] at (-0.3) should be [30px\]]
expected: FAIL
@ -551,60 +455,6 @@
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [30px\] to [fit-content\] at (0.3) should be [30px\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [30px\] to [fit-content\] at (0.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [30px\] to [fit-content\] at (0.6) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [30px\] to [fit-content\] at (1) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [30px\] to [fit-content\] at (1.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [30px\] to [fit-content\] at (-0.3) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [30px\] to [fit-content\] at (0) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [30px\] to [fit-content\] at (0.3) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [30px\] to [fit-content\] at (0.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [30px\] to [fit-content\] at (0.6) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [30px\] to [fit-content\] at (1) should be [fit-content\]]
expected: FAIL
[CSS Transitions: property <width> from [30px\] to [fit-content\] at (1.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [30px\] to [fit-content\] at (-0.3) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [30px\] to [fit-content\] at (0) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [30px\] to [fit-content\] at (0.3) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [30px\] to [fit-content\] at (0.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [30px\] to [fit-content\] at (0.6) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [30px\] to [fit-content\] at (1) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [30px\] to [fit-content\] at (1.5) should be [fit-content\]]
expected: FAIL
[CSS Animations: property <width> from [30px\] to [fit-content\] at (-0.3) should be [30px\]]
expected: FAIL
@ -647,90 +497,6 @@
[Web Animations: property <width> from [30px\] to [fit-content\] at (1.5) should be [fit-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [max-content\] to [min-content\] at (-0.3) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [max-content\] to [min-content\] at (0) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [max-content\] to [min-content\] at (0.3) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [max-content\] to [min-content\] at (0.5) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [max-content\] to [min-content\] at (0.6) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [max-content\] to [min-content\] at (1) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from [max-content\] to [min-content\] at (1.5) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [max-content\] to [min-content\] at (-0.3) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [max-content\] to [min-content\] at (0) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [max-content\] to [min-content\] at (0.3) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [max-content\] to [min-content\] at (0.5) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [max-content\] to [min-content\] at (0.6) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [max-content\] to [min-content\] at (1) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from [max-content\] to [min-content\] at (1.5) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from [max-content\] to [min-content\] at (-0.3) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from [max-content\] to [min-content\] at (0) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from [max-content\] to [min-content\] at (0.3) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from [max-content\] to [min-content\] at (0.5) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from [max-content\] to [min-content\] at (0.6) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from [max-content\] to [min-content\] at (1) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from [max-content\] to [min-content\] at (1.5) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [max-content\] to [min-content\] at (-0.3) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [max-content\] to [min-content\] at (0) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [max-content\] to [min-content\] at (0.3) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [max-content\] to [min-content\] at (0.5) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [max-content\] to [min-content\] at (0.6) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [max-content\] to [min-content\] at (1) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from [max-content\] to [min-content\] at (1.5) should be [min-content\]]
expected: FAIL
[CSS Animations: property <width> from [max-content\] to [min-content\] at (-0.3) should be [max-content\]]
expected: FAIL
@ -809,72 +575,6 @@
[Web Animations: property <width> from [max-content\] to neutral at (0.3) should be [max-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from neutral to [min-content\] at (0.5) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from neutral to [min-content\] at (0.6) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from neutral to [min-content\] at (1) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <width> from neutral to [min-content\] at (1.5) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from neutral to [min-content\] at (0.5) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from neutral to [min-content\] at (0.6) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from neutral to [min-content\] at (1) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <width> from neutral to [min-content\] at (1.5) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from neutral to [min-content\] at (-0.3) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from neutral to [min-content\] at (0) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from neutral to [min-content\] at (0.3) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from neutral to [min-content\] at (0.5) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from neutral to [min-content\] at (0.6) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from neutral to [min-content\] at (1) should be [min-content\]]
expected: FAIL
[CSS Transitions: property <width> from neutral to [min-content\] at (1.5) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from neutral to [min-content\] at (-0.3) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from neutral to [min-content\] at (0) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from neutral to [min-content\] at (0.3) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from neutral to [min-content\] at (0.5) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from neutral to [min-content\] at (0.6) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from neutral to [min-content\] at (1) should be [min-content\]]
expected: FAIL
[CSS Transitions with transition: all: property <width> from neutral to [min-content\] at (1.5) should be [min-content\]]
expected: FAIL
[CSS Animations: property <width> from neutral to [min-content\] at (0.5) should be [min-content\]]
expected: FAIL