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 // http://www.w3.org/TR/web-animations/#the-animationtiming-interface | 5 // https://w3c.github.io/web-animations/#the-animationeffecttiming-interface |
6 | 6 // TODO(dstockwell): Should extend AnimationEffectTimingReadOnly |
7 // TODO(dstockwell): This interface does not exist in the latest spec, which | |
8 // instead has a AnimationEffectTimingReadonly interface: | |
9 // https://w3c.github.io/web-animations/#the-animationeffecttimingreadonly-inter
face | |
10 | 7 |
11 [ | 8 [ |
12 ImplementedAs=AnimationNodeTiming, | |
13 RuntimeEnabled=WebAnimationsAPI, | 9 RuntimeEnabled=WebAnimationsAPI, |
14 WillBeGarbageCollected, | 10 WillBeGarbageCollected, |
15 ] interface Timing { | 11 ] interface AnimationEffectTiming { |
16 attribute double delay; | 12 attribute double delay; |
17 attribute double endDelay; | 13 attribute double endDelay; |
18 attribute DOMString fill; | 14 attribute DOMString fill; |
19 attribute double iterationStart; | 15 attribute double iterationStart; |
20 attribute unrestricted double iterations; | 16 attribute unrestricted double iterations; |
21 attribute (unrestricted double or DOMString) duration; | 17 attribute (unrestricted double or DOMString) duration; |
| 18 // TODO(dstockwell): playbackRate has been removed from level 1. |
22 attribute double playbackRate; | 19 attribute double playbackRate; |
23 attribute DOMString direction; | 20 attribute DOMString direction; |
24 attribute DOMString easing; | 21 attribute DOMString easing; |
25 }; | 22 }; |
OLD | NEW |