Victor Porof | 6e09692 | 2022-06-10 13:01:05 +0000 | [diff] [blame^] | 1 | // 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] |
| 7 | interface 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 | }; |
| 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 | undefined appendRule(CSSOMString rule); |
| 36 | undefined deleteRule(CSSOMString select); |
| 37 | CSSKeyframeRule? findRule(CSSOMString select); |
| 38 | }; |
| 39 | |
| 40 | partial interface mixin GlobalEventHandlers { |
| 41 | attribute EventHandler onanimationstart; |
| 42 | attribute EventHandler onanimationiteration; |
| 43 | attribute EventHandler onanimationend; |
| 44 | attribute EventHandler onanimationcancel; |
| 45 | }; |