Files
ladybird/Libraries/LibWeb/Animations/Animatable.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

18 lines
689 B
Plaintext

// https://drafts.csswg.org/web-animations-1/#the-animatable-interface-mixin
interface mixin Animatable {
Animation animate(object? keyframes, optional (unrestricted double or KeyframeAnimationOptions) options = {});
sequence<Animation> getAnimations(optional GetAnimationsOptions options = {});
};
// https://drafts.csswg.org/web-animations-1/#dictdef-keyframeanimationoptions
dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
DOMString id = "";
AnimationTimeline? timeline;
};
// https://drafts.csswg.org/web-animations-1/#dictdef-getanimationsoptions
dictionary GetAnimationsOptions {
boolean subtree = false;
CSSOMString? pseudoElement = null;
};