|
| 1 | +// GENERATED CONTENT - DO NOT EDIT |
| 2 | +// Content of this file was automatically extracted from the |
| 3 | +// "CSS Animations Level 1" spec. |
| 4 | +// See: https://drafts.csswg.org/css-animations/ |
| 5 | + |
| 6 | +[Exposed=Window, |
| 7 | + Constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict)] |
| 8 | +interface AnimationEvent : Event { |
| 9 | + readonly attribute CSSOMString animationName; |
| 10 | + readonly attribute double elapsedTime; |
| 11 | + readonly attribute CSSOMString pseudoElement; |
| 12 | +}; |
| 13 | +dictionary AnimationEventInit : EventInit { |
| 14 | + CSSOMString animationName = ""; |
| 15 | + double elapsedTime = 0.0; |
| 16 | + CSSOMString pseudoElement = ""; |
| 17 | +}; |
| 18 | + |
| 19 | +partial interface CSSRule { |
| 20 | + const unsigned short KEYFRAMES_RULE = 7; |
| 21 | + const unsigned short KEYFRAME_RULE = 8; |
| 22 | +}; |
| 23 | + |
| 24 | +[Exposed=Window] |
| 25 | +interface CSSKeyframeRule : CSSRule { |
| 26 | + attribute CSSOMString keyText; |
| 27 | + [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style; |
| 28 | +}; |
| 29 | + |
| 30 | +[Exposed=Window] |
| 31 | +interface CSSKeyframesRule : CSSRule { |
| 32 | + attribute CSSOMString name; |
| 33 | + readonly attribute CSSRuleList cssRules; |
| 34 | + |
| 35 | + void appendRule(CSSOMString rule); |
| 36 | + void deleteRule(CSSOMString select); |
| 37 | + CSSKeyframeRule? findRule(CSSOMString select); |
| 38 | +}; |
| 39 | + |
| 40 | +partial interface GlobalEventHandlers { |
| 41 | + attribute EventHandler onanimationstart; |
| 42 | + attribute EventHandler onanimationiteration; |
| 43 | + attribute EventHandler onanimationend; |
| 44 | + attribute EventHandler onanimationcancel; |
| 45 | +}; |
0 commit comments