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 | |
7 | 6 |
8 [ | 7 [ |
9 RuntimeEnabled=WebAnimationsAPI, | 8 RuntimeEnabled=WebAnimationsAPI, |
10 ] interface AnimationEffectTiming { | 9 ] interface AnimationEffectTiming : AnimationEffectTimingReadOnly { |
11 attribute double delay; | 10 attribute double delay; |
12 attribute double endDelay; | 11 attribute double endDelay; |
13 attribute DOMString fill; | 12 attribute DOMString fill; |
14 [RaisesException=Setter] attribute double iterationStart; | 13 [RaisesException=Setter] attribute double iterationStart; |
15 [RaisesException=Setter] attribute unrestricted double iterations; | 14 [RaisesException=Setter] attribute unrestricted double iterations; |
16 [RaisesException=Setter] attribute (unrestricted double or DOMString) durati
on; | 15 [RaisesException=Setter] attribute (unrestricted double or DOMString) durati
on; |
17 attribute DOMString direction; | 16 attribute DOMString direction; |
18 [RaisesException=Setter] attribute DOMString easing; | 17 [RaisesException=Setter] attribute DOMString easing; |
19 }; | 18 }; |
OLD | NEW |