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,12 +2,12 @@ Harness status: OK
Found 250 tests
170 Pass
80 Fail
Fail CSS Transitions: property <z-index> from neutral to [5] at (-0.3) should be [-4]
Fail CSS Transitions: property <z-index> from neutral to [5] at (0) should be [-2]
Fail CSS Transitions: property <z-index> from neutral to [5] at (0.3) should be [0]
Fail CSS Transitions: property <z-index> from neutral to [5] at (0.6) should be [2]
195 Pass
55 Fail
Pass CSS Transitions: property <z-index> from neutral to [5] at (-0.3) should be [-4]
Pass CSS Transitions: property <z-index> from neutral to [5] at (0) should be [-2]
Pass CSS Transitions: property <z-index> from neutral to [5] at (0.3) should be [0]
Pass CSS Transitions: property <z-index> from neutral to [5] at (0.6) should be [2]
Pass CSS Transitions: property <z-index> from neutral to [5] at (1) should be [5]
Fail CSS Transitions: property <z-index> from neutral to [5] at (1.5) should be [9]
Fail CSS Transitions with transition: all: property <z-index> from neutral to [5] at (-0.3) should be [-4]
@ -28,9 +28,9 @@ Fail Web Animations: property <z-index> from neutral to [5] at (0.3) should be [
Fail Web Animations: property <z-index> from neutral to [5] at (0.6) should be [2]
Pass Web Animations: property <z-index> from neutral to [5] at (1) should be [5]
Fail Web Animations: property <z-index> from neutral to [5] at (1.5) should be [9]
Fail CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (-0.3) should be [initial]
Fail CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (0) should be [initial]
Fail CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (0.3) should be [initial]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (-0.3) should be [initial]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (0) should be [initial]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (0.3) should be [initial]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (0.5) should be [5]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (0.6) should be [5]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [initial] to [5] at (1) should be [5]
@ -42,9 +42,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 <z-index> from [initial] to [5] at (0.6) should be [5]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <z-index> from [initial] to [5] at (1) should be [5]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <z-index> from [initial] to [5] at (1.5) should be [5]
Pass CSS Transitions: property <z-index> from [initial] to [5] at (-0.3) should be [5]
Pass CSS Transitions: property <z-index> from [initial] to [5] at (0) should be [5]
Pass CSS Transitions: property <z-index> from [initial] to [5] at (0.3) should be [5]
Fail CSS Transitions: property <z-index> from [initial] to [5] at (-0.3) should be [5]
Fail CSS Transitions: property <z-index> from [initial] to [5] at (0) should be [5]
Fail CSS Transitions: property <z-index> from [initial] to [5] at (0.3) should be [5]
Pass CSS Transitions: property <z-index> from [initial] to [5] at (0.5) should be [5]
Pass CSS Transitions: property <z-index> from [initial] to [5] at (0.6) should be [5]
Pass CSS Transitions: property <z-index> from [initial] to [5] at (1) should be [5]
@ -70,12 +70,12 @@ Pass Web Animations: property <z-index> from [initial] to [5] at (0.5) should be
Pass Web Animations: property <z-index> from [initial] to [5] at (0.6) should be [5]
Pass Web Animations: property <z-index> from [initial] to [5] at (1) should be [5]
Pass Web Animations: property <z-index> from [initial] to [5] at (1.5) should be [5]
Fail CSS Transitions: property <z-index> from [inherit] to [5] at (-0.3) should be [18]
Fail CSS Transitions: property <z-index> from [inherit] to [5] at (0) should be [15]
Fail CSS Transitions: property <z-index> from [inherit] to [5] at (0.3) should be [12]
Fail CSS Transitions: property <z-index> from [inherit] to [5] at (0.6) should be [9]
Pass CSS Transitions: property <z-index> from [inherit] to [5] at (-0.3) should be [18]
Pass CSS Transitions: property <z-index> from [inherit] to [5] at (0) should be [15]
Pass CSS Transitions: property <z-index> from [inherit] to [5] at (0.3) should be [12]
Pass CSS Transitions: property <z-index> from [inherit] to [5] at (0.6) should be [9]
Pass CSS Transitions: property <z-index> from [inherit] to [5] at (1) should be [5]
Fail CSS Transitions: property <z-index> from [inherit] to [5] at (1.5) should be [0]
Pass CSS Transitions: property <z-index> from [inherit] to [5] at (1.5) should be [0]
Fail CSS Transitions with transition: all: property <z-index> from [inherit] to [5] at (-0.3) should be [18]
Fail CSS Transitions with transition: all: property <z-index> from [inherit] to [5] at (0) should be [15]
Fail CSS Transitions with transition: all: property <z-index> from [inherit] to [5] at (0.3) should be [12]
@ -94,9 +94,9 @@ Pass Web Animations: property <z-index> from [inherit] to [5] at (0.3) should be
Pass Web Animations: property <z-index> from [inherit] to [5] at (0.6) should be [9]
Pass Web Animations: property <z-index> from [inherit] to [5] at (1) should be [5]
Pass Web Animations: property <z-index> from [inherit] to [5] at (1.5) should be [0]
Fail CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [unset] to [5] at (-0.3) should be [unset]
Fail CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [unset] to [5] at (0) should be [unset]
Fail CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [unset] to [5] at (0.3) should be [unset]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [unset] to [5] at (-0.3) should be [unset]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [unset] to [5] at (0) should be [unset]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [unset] to [5] at (0.3) should be [unset]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [unset] to [5] at (0.5) should be [5]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [unset] to [5] at (0.6) should be [5]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [unset] to [5] at (1) should be [5]
@ -108,9 +108,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 <z-index> from [unset] to [5] at (0.6) should be [5]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <z-index> from [unset] to [5] at (1) should be [5]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <z-index> from [unset] to [5] at (1.5) should be [5]
Pass CSS Transitions: property <z-index> from [unset] to [5] at (-0.3) should be [5]
Pass CSS Transitions: property <z-index> from [unset] to [5] at (0) should be [5]
Pass CSS Transitions: property <z-index> from [unset] to [5] at (0.3) should be [5]
Fail CSS Transitions: property <z-index> from [unset] to [5] at (-0.3) should be [5]
Fail CSS Transitions: property <z-index> from [unset] to [5] at (0) should be [5]
Fail CSS Transitions: property <z-index> from [unset] to [5] at (0.3) should be [5]
Pass CSS Transitions: property <z-index> from [unset] to [5] at (0.5) should be [5]
Pass CSS Transitions: property <z-index> from [unset] to [5] at (0.6) should be [5]
Pass CSS Transitions: property <z-index> from [unset] to [5] at (1) should be [5]
@ -136,12 +136,12 @@ Pass Web Animations: property <z-index> from [unset] to [5] at (0.5) should be [
Pass Web Animations: property <z-index> from [unset] to [5] at (0.6) should be [5]
Pass Web Animations: property <z-index> from [unset] to [5] at (1) should be [5]
Pass Web Animations: property <z-index> from [unset] to [5] at (1.5) should be [5]
Fail CSS Transitions: property <z-index> from [-5] to [5] at (-0.3) should be [-8]
Fail CSS Transitions: property <z-index> from [-5] to [5] at (0) should be [-5]
Fail CSS Transitions: property <z-index> from [-5] to [5] at (0.3) should be [-2]
Fail CSS Transitions: property <z-index> from [-5] to [5] at (0.6) should be [1]
Pass CSS Transitions: property <z-index> from [-5] to [5] at (-0.3) should be [-8]
Pass CSS Transitions: property <z-index> from [-5] to [5] at (0) should be [-5]
Pass CSS Transitions: property <z-index> from [-5] to [5] at (0.3) should be [-2]
Pass CSS Transitions: property <z-index> from [-5] to [5] at (0.6) should be [1]
Pass CSS Transitions: property <z-index> from [-5] to [5] at (1) should be [5]
Fail CSS Transitions: property <z-index> from [-5] to [5] at (1.5) should be [10]
Pass CSS Transitions: property <z-index> from [-5] to [5] at (1.5) should be [10]
Fail CSS Transitions with transition: all: property <z-index> from [-5] to [5] at (-0.3) should be [-8]
Fail CSS Transitions with transition: all: property <z-index> from [-5] to [5] at (0) should be [-5]
Fail CSS Transitions with transition: all: property <z-index> from [-5] to [5] at (0.3) should be [-2]
@ -160,12 +160,12 @@ Pass Web Animations: property <z-index> from [-5] to [5] at (0.3) should be [-2]
Pass Web Animations: property <z-index> from [-5] to [5] at (0.6) should be [1]
Pass Web Animations: property <z-index> from [-5] to [5] at (1) should be [5]
Pass Web Animations: property <z-index> from [-5] to [5] at (1.5) should be [10]
Fail CSS Transitions: property <z-index> from [2] to [4] at (-0.3) should be [1]
Fail CSS Transitions: property <z-index> from [2] to [4] at (0) should be [2]
Fail CSS Transitions: property <z-index> from [2] to [4] at (0.3) should be [3]
Fail CSS Transitions: property <z-index> from [2] to [4] at (0.6) should be [3]
Pass CSS Transitions: property <z-index> from [2] to [4] at (-0.3) should be [1]
Pass CSS Transitions: property <z-index> from [2] to [4] at (0) should be [2]
Pass CSS Transitions: property <z-index> from [2] to [4] at (0.3) should be [3]
Pass CSS Transitions: property <z-index> from [2] to [4] at (0.6) should be [3]
Pass CSS Transitions: property <z-index> from [2] to [4] at (1) should be [4]
Fail CSS Transitions: property <z-index> from [2] to [4] at (1.5) should be [5]
Pass CSS Transitions: property <z-index> from [2] to [4] at (1.5) should be [5]
Fail CSS Transitions with transition: all: property <z-index> from [2] to [4] at (-0.3) should be [1]
Fail CSS Transitions with transition: all: property <z-index> from [2] to [4] at (0) should be [2]
Fail CSS Transitions with transition: all: property <z-index> from [2] to [4] at (0.3) should be [3]
@ -184,13 +184,13 @@ Pass Web Animations: property <z-index> from [2] to [4] at (0.3) should be [3]
Pass Web Animations: property <z-index> from [2] to [4] at (0.6) should be [3]
Pass Web Animations: property <z-index> from [2] to [4] at (1) should be [4]
Pass Web Animations: property <z-index> from [2] to [4] at (1.5) should be [5]
Fail CSS Transitions: property <z-index> from [-2] to [-4] at (-0.3) should be [-1]
Fail CSS Transitions: property <z-index> from [-2] to [-4] at (0) should be [-2]
Fail CSS Transitions: property <z-index> from [-2] to [-4] at (0.1) should be [-2]
Fail CSS Transitions: property <z-index> from [-2] to [-4] at (0.3) should be [-3]
Fail CSS Transitions: property <z-index> from [-2] to [-4] at (0.6) should be [-3]
Pass CSS Transitions: property <z-index> from [-2] to [-4] at (-0.3) should be [-1]
Pass CSS Transitions: property <z-index> from [-2] to [-4] at (0) should be [-2]
Pass CSS Transitions: property <z-index> from [-2] to [-4] at (0.1) should be [-2]
Pass CSS Transitions: property <z-index> from [-2] to [-4] at (0.3) should be [-3]
Pass CSS Transitions: property <z-index> from [-2] to [-4] at (0.6) should be [-3]
Pass CSS Transitions: property <z-index> from [-2] to [-4] at (1) should be [-4]
Fail CSS Transitions: property <z-index> from [-2] to [-4] at (1.5) should be [-5]
Pass CSS Transitions: property <z-index> from [-2] to [-4] at (1.5) should be [-5]
Fail CSS Transitions with transition: all: property <z-index> from [-2] to [-4] at (-0.3) should be [-1]
Fail CSS Transitions with transition: all: property <z-index> from [-2] to [-4] at (0) should be [-2]
Fail CSS Transitions with transition: all: property <z-index> from [-2] to [-4] at (0.1) should be [-2]
@ -212,9 +212,9 @@ Pass Web Animations: property <z-index> from [-2] to [-4] at (0.3) should be [-3
Pass Web Animations: property <z-index> from [-2] to [-4] at (0.6) should be [-3]
Pass Web Animations: property <z-index> from [-2] to [-4] at (1) should be [-4]
Pass Web Animations: property <z-index> from [-2] to [-4] at (1.5) should be [-5]
Fail CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [auto] to [10] at (-0.3) should be [auto]
Fail CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [auto] to [10] at (0) should be [auto]
Fail CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [auto] to [10] at (0.3) should be [auto]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [auto] to [10] at (-0.3) should be [auto]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [auto] to [10] at (0) should be [auto]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [auto] to [10] at (0.3) should be [auto]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [auto] to [10] at (0.5) should be [10]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [auto] to [10] at (0.6) should be [10]
Pass CSS Transitions with transition-behavior:allow-discrete: property <z-index> from [auto] to [10] at (1) should be [10]
@ -226,9 +226,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 <z-index> from [auto] to [10] at (0.6) should be [10]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <z-index> from [auto] to [10] at (1) should be [10]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <z-index> from [auto] to [10] at (1.5) should be [10]
Pass CSS Transitions: property <z-index> from [auto] to [10] at (-0.3) should be [10]
Pass CSS Transitions: property <z-index> from [auto] to [10] at (0) should be [10]
Pass CSS Transitions: property <z-index> from [auto] to [10] at (0.3) should be [10]
Fail CSS Transitions: property <z-index> from [auto] to [10] at (-0.3) should be [10]
Fail CSS Transitions: property <z-index> from [auto] to [10] at (0) should be [10]
Fail CSS Transitions: property <z-index> from [auto] to [10] at (0.3) should be [10]
Pass CSS Transitions: property <z-index> from [auto] to [10] at (0.5) should be [10]
Pass CSS Transitions: property <z-index> from [auto] to [10] at (0.6) should be [10]
Pass CSS Transitions: property <z-index> from [auto] to [10] at (1) should be [10]

View file

@ -2,8 +2,7 @@ Harness status: OK
Found 3 tests
2 Pass
1 Fail
3 Pass
Pass e.style['transition-duration'] = "0s" should set the property value
Pass e.style['transition-duration'] = "500ms" should set the property value
Fail e.style['transition-duration'] = "1s, 2s" should set the property value
Pass e.style['transition-duration'] = "1s, 2s" should set the property value