ladybird/Userland/Libraries/LibWeb/CSS/AnimationEvent.idl
sideshowbarker 51528ec677 LibWeb: Normalize all WebIDL definition lines to four leading spaces
This change takes all existing WebIDL files in the repo that had
definition lines without four leading spaces, and fixes them so they
have four leading spaces.
2024-09-10 21:16:53 +01:00

17 lines
593 B
Text

#import <DOM/Event.idl>
// https://www.w3.org/TR/css-animations-1/#animationevent
[Exposed=Window]
interface AnimationEvent : Event {
constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict = {});
readonly attribute CSSOMString animationName;
readonly attribute double elapsedTime;
readonly attribute CSSOMString pseudoElement;
};
// https://www.w3.org/TR/css-animations-1/#dictdef-animationeventinit
dictionary AnimationEventInit : EventInit {
CSSOMString animationName = "";
double elapsedTime = 0.0;
CSSOMString pseudoElement = "";
};