mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb: Extract animation-composition value from keyframe at-rules
Previously, we weren't respecting the value of this property, so the composite operation always defaulted to `AnimationComposition::Replace`.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
16fd2ccee0
commit
e4fb4d7c1a
Notes:
github-actions[bot]
2026-01-06 11:59:56 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/e4fb4d7c1af Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7337 Reviewed-by: https://github.com/gmta ✅
@@ -25,6 +25,7 @@ struct KeyframeEffectOptions : public EffectTiming {
|
||||
};
|
||||
|
||||
Bindings::CompositeOperation css_animation_composition_to_bindings_composite_operation(CSS::AnimationComposition composition);
|
||||
Bindings::CompositeOperationOrAuto css_animation_composition_to_bindings_composite_operation_or_auto(CSS::AnimationComposition composition);
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#dictdef-basepropertyindexedkeyframe
|
||||
// Note: This is an intermediate structure used only when parsing Keyframes provided by the caller in a slightly
|
||||
|
||||
Reference in New Issue
Block a user