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