mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Ensure registered transitions are reflective of properties
Previously we would only update these if: a) We had a cascaded value for `transition-property` b) The source of that cascaded value had changed since we last registered transitions This meant that there were a lot of changes we didn't apply: - Changes exclusively to properties other than `transition-property` (e.g. `transition-duration`, `transition-behavior`, etc) - Removing the `transition-property` property - Updating the `transition-property` property in a way that didn't change it's source (e.g. setting it within inline-style) Unfortunately this does mean that we now register transitions for all properties on most elements since "all" is the initial value for "transition-property" which isn't great for performance, but that can be looked at in later commits.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
46abc0e8e2
commit
b2b889e1da
Notes:
github-actions[bot]
2025-11-23 08:44:36 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/b2b889e1dab Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6854 Reviewed-by: https://github.com/gmta ✅
@@ -2,7 +2,6 @@ Harness status: OK
|
||||
|
||||
Found 2 tests
|
||||
|
||||
1 Pass
|
||||
1 Fail
|
||||
Fail ready promise is rejected when a transition is canceled by updating transition-property
|
||||
2 Pass
|
||||
Pass ready promise is rejected when a transition is canceled by updating transition-property
|
||||
Pass ready promise is rejected when a transition is canceled by changing the transition property to something not interpolable
|
||||
Reference in New Issue
Block a user