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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://w3c.github.io/web-animations/#the-animationtiminginput-dictionary
6
7 // TODO(dstockwell): Rename this to AnimationEffectTimingProperties.
5 dictionary AnimationTimingProperties { 8 dictionary AnimationTimingProperties {
6 double delay = 0; 9 double delay = 0;
7 double endDelay = 0; 10 double endDelay = 0;
11 // TODO(dstockwell): The fill type should be FillMode.
8 DOMString fill = "auto"; 12 DOMString fill = "auto";
9 double iterationStart = 0.0; 13 double iterationStart = 0.0;
10 unrestricted double iterations = 1.0; 14 unrestricted double iterations = 1.0;
11 (unrestricted double or DOMString) duration = "auto"; 15 (unrestricted double or DOMString) duration = "auto";
16 // TODO(dstockwell): There is no playbackRate member in the spec.
12 double playbackRate = 1.0; 17 double playbackRate = 1.0;
18 // TODO(dstockwell): The direction type should be PlaybackDirection.
13 DOMString direction = "normal"; 19 DOMString direction = "normal";
14 DOMString easing = "linear"; 20 DOMString easing = "linear";
15 }; 21 };
OLDNEW
« 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