mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 4333a1d2f109795547fc5e22ebfc8481fa649de7
This commit is contained in:
parent
728ebcc932
commit
8c46b67f8e
456 changed files with 10561 additions and 5108 deletions
45
tests/wpt/web-platform-tests/interfaces/css-animations.idl
Normal file
45
tests/wpt/web-platform-tests/interfaces/css-animations.idl
Normal file
|
@ -0,0 +1,45 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content of this file was automatically extracted from the
|
||||
// "CSS Animations Level 1" spec.
|
||||
// See: 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 GlobalEventHandlers {
|
||||
attribute EventHandler onanimationstart;
|
||||
attribute EventHandler onanimationiteration;
|
||||
attribute EventHandler onanimationend;
|
||||
attribute EventHandler onanimationcancel;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue