blob: 8185170943281bd1ceb8bb8fd3cd701a60fa290c [file] [log] [blame]
Victor Porof6e096922022-06-10 13:01:05 +00001// GENERATED CONTENT - DO NOT EDIT
2// Content was automatically extracted by Reffy into webref
3// (https://github.com/w3c/webref)
4// Source: CSS Animations Level 1 (https://drafts.csswg.org/css-animations/)
5
6[Exposed=Window]
7interface AnimationEvent : Event {
8 constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict = {});
9 readonly attribute CSSOMString animationName;
10 readonly attribute double elapsedTime;
11 readonly attribute CSSOMString pseudoElement;
12};
13dictionary AnimationEventInit : EventInit {
14 CSSOMString animationName = "";
15 double elapsedTime = 0.0;
16 CSSOMString pseudoElement = "";
17};
18
19partial interface CSSRule {
20 const unsigned short KEYFRAMES_RULE = 7;
21 const unsigned short KEYFRAME_RULE = 8;
22};
23
24[Exposed=Window]
25interface CSSKeyframeRule : CSSRule {
26 attribute CSSOMString keyText;
27 [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
28};
29
30[Exposed=Window]
31interface CSSKeyframesRule : CSSRule {
32 attribute CSSOMString name;
33 readonly attribute CSSRuleList cssRules;
34
35 undefined appendRule(CSSOMString rule);
36 undefined deleteRule(CSSOMString select);
37 CSSKeyframeRule? findRule(CSSOMString select);
38};
39
40partial interface mixin GlobalEventHandlers {
41 attribute EventHandler onanimationstart;
42 attribute EventHandler onanimationiteration;
43 attribute EventHandler onanimationend;
44 attribute EventHandler onanimationcancel;
45};