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 GarbageCollected, | |
11 ] interface AnimationEffectTiming { | 10 ] interface AnimationEffectTiming { |
12 attribute double delay; | 11 attribute double delay; |
13 attribute double endDelay; | 12 attribute double endDelay; |
14 attribute DOMString fill; | 13 attribute DOMString fill; |
15 attribute double iterationStart; | 14 attribute double iterationStart; |
16 attribute unrestricted double iterations; | 15 attribute unrestricted double iterations; |
17 attribute (unrestricted double or DOMString) duration; | 16 attribute (unrestricted double or DOMString) duration; |
18 // TODO(dstockwell): playbackRate has been removed from level 1. | 17 // TODO(dstockwell): playbackRate has been removed from level 1. |
19 attribute double playbackRate; | 18 attribute double playbackRate; |
20 attribute DOMString direction; | 19 attribute DOMString direction; |
21 attribute DOMString easing; | 20 attribute DOMString easing; |
22 }; | 21 }; |
OLD | NEW |