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

Unified Diff: Source/core/animation/AnimationTimingProperties.idl

Issue 1092203002: Document the Web Animation interfaces with spec links and TODOs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update as per dstockwell's feedback Created 5 years, 8 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/animation/AnimationTimeline.idl ('k') | Source/core/animation/ComputedTimingProperties.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationTimingProperties.idl
diff --git a/Source/core/animation/AnimationTimingProperties.idl b/Source/core/animation/AnimationTimingProperties.idl
index 8bcf13bd52e3f33e511a2f9355c236bab65cad18..0797159d6bd5c55493d732b6c9c7092f36151901 100644
--- a/Source/core/animation/AnimationTimingProperties.idl
+++ b/Source/core/animation/AnimationTimingProperties.idl
@@ -2,14 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// https://w3c.github.io/web-animations/#the-animationtiminginput-dictionary
+
+// TODO(dstockwell): Rename this to AnimationEffectTimingProperties.
dictionary AnimationTimingProperties {
double delay = 0;
double endDelay = 0;
+ // TODO(dstockwell): The fill type should be FillMode.
DOMString fill = "auto";
double iterationStart = 0.0;
unrestricted double iterations = 1.0;
(unrestricted double or DOMString) duration = "auto";
+ // TODO(dstockwell): There is no playbackRate member in the spec.
double playbackRate = 1.0;
+ // TODO(dstockwell): The direction type should be PlaybackDirection.
DOMString direction = "normal";
DOMString easing = "linear";
};
« no previous file with comments | « Source/core/animation/AnimationTimeline.idl ('k') | Source/core/animation/ComputedTimingProperties.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698