Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Unified Diff: Source/core/events/AnimationEventInit.idl

Issue 1158233004: Sync the AnimationEvent and TransitionEvent interfaces with the specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TransitionEvent too Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/events/AnimationEvent.idl ('k') | Source/core/events/TransitionEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/AnimationEventInit.idl
diff --git a/Source/core/events/AnimationEventInit.idl b/Source/core/events/AnimationEventInit.idl
index 9a1587b6c503b04c0abebd3c28398eb7e3707ea1..ae6c9b9c9759f6c933d89c9c630258c1d6fe559e 100644
--- a/Source/core/events/AnimationEventInit.idl
+++ b/Source/core/events/AnimationEventInit.idl
@@ -2,9 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Non-standard.
+// http://dev.w3.org/csswg/css-animations/#interface-animationevent
dictionary AnimationEventInit : EventInit {
- DOMString animationName;
- double elapsedTime;
+ DOMString animationName = "";
+ // TODO(philipj): elapsedTime should be float.
+ double elapsedTime = 0.0;
+ // TODO(philipj): DOMString pseudoElement = "";
};
« no previous file with comments | « Source/core/events/AnimationEvent.idl ('k') | Source/core/events/TransitionEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698