diff options
Diffstat (limited to 'testing/web-platform/tests/interfaces/css-transitions.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/css-transitions.idl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/css-transitions.idl b/testing/web-platform/tests/interfaces/css-transitions.idl new file mode 100644 index 0000000000..0f00b2c014 --- /dev/null +++ b/testing/web-platform/tests/interfaces/css-transitions.idl @@ -0,0 +1,25 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into webref +// (https://github.com/w3c/webref) +// Source: CSS Transitions (https://drafts.csswg.org/css-transitions-1/) + +[Exposed=Window] +interface TransitionEvent : Event { + constructor(CSSOMString type, optional TransitionEventInit transitionEventInitDict = {}); + 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 mixin GlobalEventHandlers { + attribute EventHandler ontransitionrun; + attribute EventHandler ontransitionstart; + attribute EventHandler ontransitionend; + attribute EventHandler ontransitioncancel; +}; |