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:
Tim Ledbetter
2026-01-06 03:11:08 +00:00
committed by Jelle Raaijmakers
parent 16fd2ccee0
commit e4fb4d7c1a
Notes: github-actions[bot] 2026-01-06 11:59:56 +00:00
37 changed files with 690 additions and 679 deletions

View File

@@ -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