Index: core/events/AnimationEvent.idl |
diff --git a/core/events/WebKitAnimationEvent.idl b/core/events/AnimationEvent.idl |
similarity index 77% |
rename from core/events/WebKitAnimationEvent.idl |
rename to core/events/AnimationEvent.idl |
index 44f32660bf80a6b8e057f315aea8b0c51eff6527..8b0b7945a5b353c7c0dbbb84410f3decd3a9feb2 100644 |
--- a/core/events/WebKitAnimationEvent.idl |
+++ b/core/events/AnimationEvent.idl |
@@ -23,10 +23,13 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// http://dev.w3.org/csswg/css-animations/#interface-animationevent |
+ |
[ |
- EventConstructor, |
-] interface WebKitAnimationEvent : Event { |
- [InitializedByEventConstructor] readonly attribute DOMString animationName; |
- [InitializedByEventConstructor] readonly attribute double elapsedTime; |
+ Constructor(DOMString type, optional AnimationEventInit eventInitDict), |
+] interface AnimationEvent : Event { |
+ readonly attribute DOMString animationName; |
+ // TODO(philipj): elapsedTime should be float. |
+ readonly attribute double elapsedTime; |
+ // TODO(philipj): readonly attribute DOMString pseudoElement; |
}; |
- |