| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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" }; | 7 enum FillMode { "none", "forwards", "backwards", "both", "auto" }; |
| 8 enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" }
; | 8 enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" }
; |
| 9 | 9 |
| 10 dictionary AnimationEffectTimingProperties { | 10 dictionary AnimationEffectTimingProperties { |
| 11 double delay = 0; | 11 double delay = 0; |
| 12 double endDelay = 0; | 12 double endDelay = 0; |
| 13 FillMode fill = "auto"; | 13 FillMode fill = "auto"; |
| 14 double iterationStart = 0.0; | 14 double iterationStart = 0.0; |
| 15 unrestricted double iterations = 1.0; | 15 unrestricted double iterations = 1.0; |
| 16 (unrestricted double or DOMString) duration = "auto"; | 16 (unrestricted double or DOMString) duration = "auto"; |
| 17 // TODO(alancutter): Remove playbackRate. | |
| 18 double playbackRate = 1.0; | |
| 19 PlaybackDirection direction = "normal"; | 17 PlaybackDirection direction = "normal"; |
| 20 DOMString easing = "linear"; | 18 DOMString easing = "linear"; |
| 21 }; | 19 }; |
| OLD | NEW |