servo/tests/wpt/web-platform-tests/interfaces/css-transitions.idl

25 lines
813 B
Text

// GENERATED CONTENT - DO NOT EDIT
// Content of this file was automatically extracted from the
// "CSS Transitions" spec.
// See: https://drafts.csswg.org/css-transitions/
[Exposed=Window,
Constructor(CSSOMString type, optional TransitionEventInit transitionEventInitDict)]
interface TransitionEvent : Event {
readonly attribute CSSOMString propertyName;
readonly attribute double elapsedTime;
readonly attribute CSSOMString pseudoElement;
};
dictionary TransitionEventInit : EventInit {
CSSOMString propertyName = "";
double elapsedTime = 0.0;
CSSOMString pseudoElement = "";
};
partial interface GlobalEventHandlers {
attribute EventHandler ontransitionrun;
attribute EventHandler ontransitionstart;
attribute EventHandler ontransitionend;
attribute EventHandler ontransitioncancel;
};