LibWeb: Allow multiple values for the transition-duration property

This commit is contained in:
Tim Ledbetter 2025-04-17 12:40:12 +01:00 committed by Sam Atkins
commit 64577ad704
Notes: github-actions[bot] 2025-04-23 20:03:59 +00:00
12 changed files with 331 additions and 327 deletions

View file

@ -2,13 +2,13 @@ Harness status: OK
Found 246 tests
184 Pass
62 Fail
Fail CSS Transitions: property <aspect-ratio> from [0.5] to [2] at (-0.5) should be [0.25 / 1]
Fail CSS Transitions: property <aspect-ratio> from [0.5] to [2] at (0) should be [0.5 / 1]
Fail CSS Transitions: property <aspect-ratio> from [0.5] to [2] at (0.5) should be [1 / 1]
200 Pass
46 Fail
Pass CSS Transitions: property <aspect-ratio> from [0.5] to [2] at (-0.5) should be [0.25 / 1]
Pass CSS Transitions: property <aspect-ratio> from [0.5] to [2] at (0) should be [0.5 / 1]
Pass CSS Transitions: property <aspect-ratio> from [0.5] to [2] at (0.5) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [0.5] to [2] at (1) should be [2 / 1]
Fail CSS Transitions: property <aspect-ratio> from [0.5] to [2] at (1.5) should be [4 / 1]
Pass CSS Transitions: property <aspect-ratio> from [0.5] to [2] at (1.5) should be [4 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [0.5] to [2] at (-0.5) should be [0.25 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [0.5] to [2] at (0) should be [0.5 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [0.5] to [2] at (0.5) should be [1 / 1]
@ -24,11 +24,11 @@ Pass Web Animations: property <aspect-ratio> from [0.5] to [2] at (0) should be
Pass Web Animations: property <aspect-ratio> from [0.5] to [2] at (0.5) should be [1 / 1]
Pass Web Animations: property <aspect-ratio> from [0.5] to [2] at (1) should be [2 / 1]
Pass Web Animations: property <aspect-ratio> from [0.5] to [2] at (1.5) should be [4 / 1]
Fail CSS Transitions: property <aspect-ratio> from [1 / 2] to [2 / 1] at (-0.5) should be [0.25 / 1]
Fail CSS Transitions: property <aspect-ratio> from [1 / 2] to [2 / 1] at (0) should be [0.5 / 1]
Fail CSS Transitions: property <aspect-ratio> from [1 / 2] to [2 / 1] at (0.5) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 2] to [2 / 1] at (-0.5) should be [0.25 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 2] to [2 / 1] at (0) should be [0.5 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 2] to [2 / 1] at (0.5) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 2] to [2 / 1] at (1) should be [2 / 1]
Fail CSS Transitions: property <aspect-ratio> from [1 / 2] to [2 / 1] at (1.5) should be [4 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 2] to [2 / 1] at (1.5) should be [4 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [1 / 2] to [2 / 1] at (-0.5) should be [0.25 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [1 / 2] to [2 / 1] at (0) should be [0.5 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [1 / 2] to [2 / 1] at (0.5) should be [1 / 1]
@ -44,11 +44,11 @@ Pass Web Animations: property <aspect-ratio> from [1 / 2] to [2 / 1] at (0) shou
Pass Web Animations: property <aspect-ratio> from [1 / 2] to [2 / 1] at (0.5) should be [1 / 1]
Pass Web Animations: property <aspect-ratio> from [1 / 2] to [2 / 1] at (1) should be [2 / 1]
Pass Web Animations: property <aspect-ratio> from [1 / 2] to [2 / 1] at (1.5) should be [4 / 1]
Fail CSS Transitions: property <aspect-ratio> from [] to [2 / 1] at (-0.5) should be [0.25 / 1]
Fail CSS Transitions: property <aspect-ratio> from [] to [2 / 1] at (0) should be [0.5 / 1]
Fail CSS Transitions: property <aspect-ratio> from [] to [2 / 1] at (0.5) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [] to [2 / 1] at (-0.5) should be [0.25 / 1]
Pass CSS Transitions: property <aspect-ratio> from [] to [2 / 1] at (0) should be [0.5 / 1]
Pass CSS Transitions: property <aspect-ratio> from [] to [2 / 1] at (0.5) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [] to [2 / 1] at (1) should be [2 / 1]
Fail CSS Transitions: property <aspect-ratio> from [] to [2 / 1] at (1.5) should be [4 / 1]
Pass CSS Transitions: property <aspect-ratio> from [] to [2 / 1] at (1.5) should be [4 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [] to [2 / 1] at (-0.5) should be [0.25 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [] to [2 / 1] at (0) should be [0.5 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [] to [2 / 1] at (0.5) should be [1 / 1]
@ -59,11 +59,11 @@ Fail CSS Animations: property <aspect-ratio> from [] to [2 / 1] at (0) should be
Fail CSS Animations: property <aspect-ratio> from [] to [2 / 1] at (0.5) should be [1 / 1]
Pass CSS Animations: property <aspect-ratio> from [] to [2 / 1] at (1) should be [2 / 1]
Fail CSS Animations: property <aspect-ratio> from [] to [2 / 1] at (1.5) should be [4 / 1]
Fail CSS Transitions: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (-0.5) should be [auto 0.25 / 1]
Fail CSS Transitions: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (0) should be [auto 0.5 / 1]
Fail CSS Transitions: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (0.5) should be [auto 1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (-0.5) should be [auto 0.25 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (0) should be [auto 0.5 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (0.5) should be [auto 1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (1) should be [auto 2 / 1]
Fail CSS Transitions: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (1.5) should be [auto 4 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (1.5) should be [auto 4 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (-0.5) should be [auto 0.25 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (0) should be [auto 0.5 / 1]
Fail CSS Transitions with transition: all: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (0.5) should be [auto 1 / 1]
@ -79,9 +79,9 @@ Pass Web Animations: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] a
Pass Web Animations: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (0.5) should be [auto 1 / 1]
Pass Web Animations: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (1) should be [auto 2 / 1]
Pass Web Animations: property <aspect-ratio> from [auto 1 / 2] to [auto 2 / 1] at (1.5) should be [auto 4 / 1]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (-0.3) should be [auto]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (0) should be [auto]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (0.3) should be [auto]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (-0.3) should be [auto]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (0) should be [auto]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (0.3) should be [auto]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (0.5) should be [2 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (0.6) should be [2 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (1) should be [2 / 1]
@ -93,9 +93,9 @@ Pass CSS Transitions with transition-property:all and transition-behavor:allow-d
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (0.6) should be [2 / 1]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (1) should be [2 / 1]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [auto] to [2 / 1] at (1.5) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto] to [2 / 1] at (-0.3) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto] to [2 / 1] at (0) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto] to [2 / 1] at (0.3) should be [2 / 1]
Fail CSS Transitions: property <aspect-ratio> from [auto] to [2 / 1] at (-0.3) should be [2 / 1]
Fail CSS Transitions: property <aspect-ratio> from [auto] to [2 / 1] at (0) should be [2 / 1]
Fail CSS Transitions: property <aspect-ratio> from [auto] to [2 / 1] at (0.3) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto] to [2 / 1] at (0.5) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto] to [2 / 1] at (0.6) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto] to [2 / 1] at (1) should be [2 / 1]
@ -121,9 +121,9 @@ Pass Web Animations: property <aspect-ratio> from [auto] to [2 / 1] at (0.5) sho
Pass Web Animations: property <aspect-ratio> from [auto] to [2 / 1] at (0.6) should be [2 / 1]
Pass Web Animations: property <aspect-ratio> from [auto] to [2 / 1] at (1) should be [2 / 1]
Pass Web Animations: property <aspect-ratio> from [auto] to [2 / 1] at (1.5) should be [2 / 1]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (-0.3) should be [auto 1 / 1]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0) should be [auto 1 / 1]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.3) should be [auto 1 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (-0.3) should be [auto 1 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0) should be [auto 1 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.3) should be [auto 1 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.5) should be [2 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.6) should be [2 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (1) should be [2 / 1]
@ -135,9 +135,9 @@ Pass CSS Transitions with transition-property:all and transition-behavor:allow-d
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.6) should be [2 / 1]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (1) should be [2 / 1]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (1.5) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (-0.3) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.3) should be [2 / 1]
Fail CSS Transitions: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (-0.3) should be [2 / 1]
Fail CSS Transitions: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0) should be [2 / 1]
Fail CSS Transitions: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.3) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.5) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.6) should be [2 / 1]
Pass CSS Transitions: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (1) should be [2 / 1]
@ -163,9 +163,9 @@ Pass Web Animations: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.
Pass Web Animations: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (0.6) should be [2 / 1]
Pass Web Animations: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (1) should be [2 / 1]
Pass Web Animations: property <aspect-ratio> from [auto 1 / 1] to [2 / 1] at (1.5) should be [2 / 1]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (-0.3) should be [1 / 0]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0) should be [1 / 0]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.3) should be [1 / 0]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (-0.3) should be [1 / 0]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0) should be [1 / 0]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.3) should be [1 / 0]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.5) should be [1 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.6) should be [1 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (1) should be [1 / 1]
@ -177,9 +177,9 @@ Pass CSS Transitions with transition-property:all and transition-behavor:allow-d
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.6) should be [1 / 1]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (1) should be [1 / 1]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [1 / 0] to [1 / 1] at (1.5) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 0] to [1 / 1] at (-0.3) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.3) should be [1 / 1]
Fail CSS Transitions: property <aspect-ratio> from [1 / 0] to [1 / 1] at (-0.3) should be [1 / 1]
Fail CSS Transitions: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0) should be [1 / 1]
Fail CSS Transitions: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.3) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.5) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.6) should be [1 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 0] to [1 / 1] at (1) should be [1 / 1]
@ -205,9 +205,9 @@ Pass Web Animations: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.5) sh
Pass Web Animations: property <aspect-ratio> from [1 / 0] to [1 / 1] at (0.6) should be [1 / 1]
Pass Web Animations: property <aspect-ratio> from [1 / 0] to [1 / 1] at (1) should be [1 / 1]
Pass Web Animations: property <aspect-ratio> from [1 / 0] to [1 / 1] at (1.5) should be [1 / 1]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (-0.3) should be [1 / 1]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0) should be [1 / 1]
Fail CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0.3) should be [1 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (-0.3) should be [1 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0) should be [1 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0.3) should be [1 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0.5) should be [0 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0.6) should be [0 / 1]
Pass CSS Transitions with transition-behavior:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (1) should be [0 / 1]
@ -219,9 +219,9 @@ Pass CSS Transitions with transition-property:all and transition-behavor:allow-d
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0.6) should be [0 / 1]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (1) should be [0 / 1]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <aspect-ratio> from [1 / 1] to [0 / 1] at (1.5) should be [0 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 1] to [0 / 1] at (-0.3) should be [0 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0) should be [0 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0.3) should be [0 / 1]
Fail CSS Transitions: property <aspect-ratio> from [1 / 1] to [0 / 1] at (-0.3) should be [0 / 1]
Fail CSS Transitions: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0) should be [0 / 1]
Fail CSS Transitions: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0.3) should be [0 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0.5) should be [0 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 1] to [0 / 1] at (0.6) should be [0 / 1]
Pass CSS Transitions: property <aspect-ratio> from [1 / 1] to [0 / 1] at (1) should be [0 / 1]