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

Side by Side Diff: third_party/WebKit/Source/core/animation/KeyframeEffectOptions.idl

Issue 1711543002: Add enums to KeyframeEffectOptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-animationeffecttimingproperties-dic tionary 5 // https://w3c.github.io/web-animations/#the-animationeffecttimingproperties-dic tionary
6 6
7 enum FillMode { "none", "forwards", "backwards", "both", "auto" };
8 enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" } ;
9
7 // TODO(dstockwell): Rename this to AnimationEffectTimingProperties. 10 // TODO(dstockwell): Rename this to AnimationEffectTimingProperties.
8 dictionary KeyframeEffectOptions { 11 dictionary KeyframeEffectOptions {
9 double delay = 0; 12 double delay = 0;
10 double endDelay = 0; 13 double endDelay = 0;
11 // TODO(dstockwell): The fill type should be FillMode. 14 FillMode fill = "auto";
12 DOMString fill = "auto";
13 double iterationStart = 0.0; 15 double iterationStart = 0.0;
14 unrestricted double iterations = 1.0; 16 unrestricted double iterations = 1.0;
15 (unrestricted double or DOMString) duration = "auto"; 17 (unrestricted double or DOMString) duration = "auto";
16 // TODO(dstockwell): There is no playbackRate member in the spec. 18 // TODO(dstockwell): There is no playbackRate member in the spec.
17 double playbackRate = 1.0; 19 double playbackRate = 1.0;
18 // TODO(dstockwell): The direction type should be PlaybackDirection. 20 PlaybackDirection direction = "normal";
19 DOMString direction = "normal";
20 DOMString easing = "linear"; 21 DOMString easing = "linear";
21 }; 22 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698