| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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-animationeffecttiming-interface | 5 // https://w3c.github.io/web-animations/#the-animationeffecttiming-interface |
| 6 // TODO(dstockwell): Should extend AnimationEffectTimingReadOnly | 6 // TODO(dstockwell): Should extend AnimationEffectTimingReadOnly |
| 7 | 7 |
| 8 [ | 8 [ |
| 9 RuntimeEnabled=WebAnimationsAPI, | 9 RuntimeEnabled=WebAnimationsAPI, |
| 10 WillBeGarbageCollected, | 10 GarbageCollected, |
| 11 ] interface AnimationEffectTiming { | 11 ] interface AnimationEffectTiming { |
| 12 attribute double delay; | 12 attribute double delay; |
| 13 attribute double endDelay; | 13 attribute double endDelay; |
| 14 attribute DOMString fill; | 14 attribute DOMString fill; |
| 15 attribute double iterationStart; | 15 attribute double iterationStart; |
| 16 attribute unrestricted double iterations; | 16 attribute unrestricted double iterations; |
| 17 attribute (unrestricted double or DOMString) duration; | 17 attribute (unrestricted double or DOMString) duration; |
| 18 // TODO(dstockwell): playbackRate has been removed from level 1. | 18 // TODO(dstockwell): playbackRate has been removed from level 1. |
| 19 attribute double playbackRate; | 19 attribute double playbackRate; |
| 20 attribute DOMString direction; | 20 attribute DOMString direction; |
| 21 attribute DOMString easing; | 21 attribute DOMString easing; |
| 22 }; | 22 }; |
| OLD | NEW |