OLD | NEW |
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 | 5 // https://w3c.github.io/web-animations/#the-animationeffecttimingproperties-dic
tionary |
6 | 6 |
7 // TODO(dstockwell): Rename this to AnimationEffectTimingProperties. | 7 // TODO(dstockwell): Rename this to AnimationEffectTimingProperties. |
8 dictionary AnimationTimingProperties { | 8 dictionary AnimationTimingProperties { |
9 double delay = 0; | 9 double delay = 0; |
10 double endDelay = 0; | 10 double endDelay = 0; |
11 // TODO(dstockwell): The fill type should be FillMode. | 11 // TODO(dstockwell): The fill type should be FillMode. |
12 DOMString fill = "auto"; | 12 DOMString fill = "auto"; |
13 double iterationStart = 0.0; | 13 double iterationStart = 0.0; |
14 unrestricted double iterations = 1.0; | 14 unrestricted double iterations = 1.0; |
15 (unrestricted double or DOMString) duration = "auto"; | 15 (unrestricted double or DOMString) duration = "auto"; |
16 // TODO(dstockwell): There is no playbackRate member in the spec. | 16 // TODO(dstockwell): There is no playbackRate member in the spec. |
17 double playbackRate = 1.0; | 17 double playbackRate = 1.0; |
18 // TODO(dstockwell): The direction type should be PlaybackDirection. | 18 // TODO(dstockwell): The direction type should be PlaybackDirection. |
19 DOMString direction = "normal"; | 19 DOMString direction = "normal"; |
20 DOMString easing = "linear"; | 20 DOMString easing = "linear"; |
21 }; | 21 }; |
OLD | NEW |