summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/events/nsIDOMAnimationEvent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/events/nsIDOMAnimationEvent.idl')
-rw-r--r--dom/interfaces/events/nsIDOMAnimationEvent.idl20
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/interfaces/events/nsIDOMAnimationEvent.idl b/dom/interfaces/events/nsIDOMAnimationEvent.idl
new file mode 100644
index 000000000..2f4e527db
--- /dev/null
+++ b/dom/interfaces/events/nsIDOMAnimationEvent.idl
@@ -0,0 +1,20 @@
+/* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#include "nsISupports.idl"
+
+/**
+ * Animation events are defined in:
+ * http://www.w3.org/TR/css3-animations/#animation-events-
+ * http://dev.w3.org/csswg/css3-animations/#animation-events-
+ */
+
+[builtinclass, uuid(ce6d1db3-53b8-4ade-9baa-70f4947200a2)]
+interface nsIDOMAnimationEvent : nsISupports
+{
+ readonly attribute DOMString animationName;
+ readonly attribute float elapsedTime;
+ readonly attribute DOMString pseudoElement;
+};