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,7 @@ Harness status: OK
Found 130 tests
124 Pass
6 Fail
130 Pass
Pass CSS Transitions: property <content-visibility> from [visible] to [hidden] at (-1) should be [visible]
Pass CSS Transitions: property <content-visibility> from [visible] to [hidden] at (0) should be [visible]
Pass CSS Transitions: property <content-visibility> from [visible] to [hidden] at (0.1) should be [visible]
@ -66,16 +65,16 @@ 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 <content-visibility> from [auto] to [visible] at (0.6) should be [visible]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <content-visibility> from [auto] to [visible] at (1) should be [visible]
Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <content-visibility> from [auto] to [visible] at (1.5) should be [visible]
Fail CSS Transitions: property <content-visibility> from [auto] to [visible] at (-0.3) should be [visible]
Fail CSS Transitions: property <content-visibility> from [auto] to [visible] at (0) should be [visible]
Fail CSS Transitions: property <content-visibility> from [auto] to [visible] at (0.3) should be [visible]
Pass CSS Transitions: property <content-visibility> from [auto] to [visible] at (-0.3) should be [visible]
Pass CSS Transitions: property <content-visibility> from [auto] to [visible] at (0) should be [visible]
Pass CSS Transitions: property <content-visibility> from [auto] to [visible] at (0.3) should be [visible]
Pass CSS Transitions: property <content-visibility> from [auto] to [visible] at (0.5) should be [visible]
Pass CSS Transitions: property <content-visibility> from [auto] to [visible] at (0.6) should be [visible]
Pass CSS Transitions: property <content-visibility> from [auto] to [visible] at (1) should be [visible]
Pass CSS Transitions: property <content-visibility> from [auto] to [visible] at (1.5) should be [visible]
Fail CSS Transitions with transition: all: property <content-visibility> from [auto] to [visible] at (-0.3) should be [visible]
Fail CSS Transitions with transition: all: property <content-visibility> from [auto] to [visible] at (0) should be [visible]
Fail CSS Transitions with transition: all: property <content-visibility> from [auto] to [visible] at (0.3) should be [visible]
Pass CSS Transitions with transition: all: property <content-visibility> from [auto] to [visible] at (-0.3) should be [visible]
Pass CSS Transitions with transition: all: property <content-visibility> from [auto] to [visible] at (0) should be [visible]
Pass CSS Transitions with transition: all: property <content-visibility> from [auto] to [visible] at (0.3) should be [visible]
Pass CSS Transitions with transition: all: property <content-visibility> from [auto] to [visible] at (0.5) should be [visible]
Pass CSS Transitions with transition: all: property <content-visibility> from [auto] to [visible] at (0.6) should be [visible]
Pass CSS Transitions with transition: all: property <content-visibility> from [auto] to [visible] at (1) should be [visible]