| 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 |
| 6 |
| 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-animationtimingreadonly-interface |
| 10 |
| 5 [ | 11 [ |
| 6 ImplementedAs=AnimationNodeTiming, | 12 ImplementedAs=AnimationNodeTiming, |
| 7 RuntimeEnabled=WebAnimationsAPI, | 13 RuntimeEnabled=WebAnimationsAPI, |
| 8 WillBeGarbageCollected, | 14 WillBeGarbageCollected, |
| 9 ] interface Timing { | 15 ] interface Timing { |
| 10 attribute double delay; | 16 attribute double delay; |
| 11 attribute double endDelay; | 17 attribute double endDelay; |
| 12 attribute DOMString fill; | 18 attribute DOMString fill; |
| 13 attribute double iterationStart; | 19 attribute double iterationStart; |
| 14 attribute unrestricted double iterations; | 20 attribute unrestricted double iterations; |
| 15 attribute (unrestricted double or DOMString) duration; | 21 attribute (unrestricted double or DOMString) duration; |
| 16 attribute double playbackRate; | 22 attribute double playbackRate; |
| 17 attribute DOMString direction; | 23 attribute DOMString direction; |
| 18 attribute DOMString easing; | 24 attribute DOMString easing; |
| 19 }; | 25 }; |
| OLD | NEW |