gecko-dev/testing/web-platform/tests/interfaces/css-animations.idl
autofoolip 04eb5f8f7c Bug 1585245 [wpt PR 19429] - Update interfaces/css-animations.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/css-animations.idl (#19429)

Source: https://github.com/tidoust/reffy-reports/blob/ac97ef8/ed/idl/css-animations.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/591867264
--

wpt-commits: 51163a920ce695b1381a87b746ee36af52349833
wpt-pr: 19429
2019-10-14 11:23:15 +00:00

45 lines
1.4 KiB
Text

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// Source: CSS Animations Level 1 (https://drafts.csswg.org/css-animations/)
[Exposed=Window]
interface AnimationEvent : Event {
constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict = {});
readonly attribute CSSOMString animationName;
readonly attribute double elapsedTime;
readonly attribute CSSOMString pseudoElement;
};
dictionary AnimationEventInit : EventInit {
CSSOMString animationName = "";
double elapsedTime = 0.0;
CSSOMString pseudoElement = "";
};
partial interface CSSRule {
const unsigned short KEYFRAMES_RULE = 7;
const unsigned short KEYFRAME_RULE = 8;
};
[Exposed=Window]
interface CSSKeyframeRule : CSSRule {
attribute CSSOMString keyText;
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
};
[Exposed=Window]
interface CSSKeyframesRule : CSSRule {
attribute CSSOMString name;
readonly attribute CSSRuleList cssRules;
void appendRule(CSSOMString rule);
void deleteRule(CSSOMString select);
CSSKeyframeRule? findRule(CSSOMString select);
};
partial interface mixin GlobalEventHandlers {
attribute EventHandler onanimationstart;
attribute EventHandler onanimationiteration;
attribute EventHandler onanimationend;
attribute EventHandler onanimationcancel;
};