gecko-dev/testing/web-platform/tests/interfaces/css-animations.idl
Philip Jägenstedt 52c5157b8f Bug 1482360 [wpt PR 12403] - Update interfaces/*.idl boilerplate from reffy-reports, a=testonly
Automatic update from web-platform-testsUpdate interfaces/*.idl boilerplate from reffy-reports (#12403)

The boilerplate has changed:
https://github.com/tidoust/reffy/pull/114

This change updates the files where *only* the boilerplate would
differ, files with other differences are left untouched.
--

wpt-commits: 9444c46e506b6231888b9b21613a8eceb4dac525
wpt-pr: 12403
2018-08-15 16:50:23 +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,
Constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict)]
interface AnimationEvent : Event {
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;
};