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