mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb: Promote animation-composition values to enum
This brings us in line with the other `animation-*` enum properties (`animation-play-state` and `animation-fill-mode`)
This commit is contained in:
Notes:
github-actions[bot]
2025-10-27 09:49:39 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/18477b0d848 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6585 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -25,6 +25,8 @@ struct KeyframeEffectOptions : public EffectTiming {
|
||||
Optional<String> pseudo_element {};
|
||||
};
|
||||
|
||||
Bindings::CompositeOperation css_animation_composition_to_bindings_composite_operation(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
|
||||
// different format. It is converted to BaseKeyframe, which is why it doesn't need to store the parsed properties
|
||||
|
||||
Reference in New Issue
Block a user