LibWeb: Ensure discrete interpolated properties are non-transitionable
Some checks are pending
CI / Lagom (arm64, Sanitizer_CI, false, macOS, macos-15, Clang) (push) Waiting to run
CI / Lagom (x86_64, Fuzzers_CI, false, Linux, blacksmith-16vcpu-ubuntu-2404, Clang) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, false, Linux, blacksmith-16vcpu-ubuntu-2404, GNU) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, true, Linux, blacksmith-16vcpu-ubuntu-2404, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (arm64, macOS, macOS-universal2, macos-15) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (x86_64, Linux, Linux-x86_64, blacksmith-8vcpu-ubuntu-2404) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

If a property is uses discrete interpolation and TransitionBehavior is
not set to `AllowDiscrete` that property should be non-transitionable.

This is now true for properties whose animation type is not discrete,
but the animation type falls back to discrete.
This commit is contained in:
Tim Ledbetter 2025-05-22 17:16:17 +01:00 committed by Jelle Raaijmakers
commit b16f34767e
Notes: github-actions[bot] 2025-05-27 11:34:35 +00:00
22 changed files with 545 additions and 489 deletions

View file

@ -2,8 +2,8 @@ Harness status: OK
Found 250 tests
195 Pass
55 Fail
204 Pass
46 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]
@ -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]
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.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]
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]
@ -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]
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.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]
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]
@ -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]
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.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]
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,8 @@ Harness status: OK
Found 18 tests
17 Pass
1 Fail
16 Pass
2 Fail
Pass margin-bottom percentage(%) / values
Pass margin-bottom percentage(%) / events
Pass margin-left percentage(%) / values
@ -21,4 +21,4 @@ Pass padding-right percentage(%) / events
Pass padding-top percentage(%) / values
Pass padding-top percentage(%) / events
Fail vertical-align vertical(keyword) / values
Pass vertical-align vertical(keyword) / events
Fail vertical-align vertical(keyword) / events