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