OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // FIXME: Should extend AnimationTimingProperties | |
6 [ | 5 [ |
7 TypeChecking=Unrestricted, | 6 TypeChecking=Unrestricted, |
8 ] dictionary ComputedTimingProperties { | 7 ] dictionary AnimationTimingProperties { |
9 double startTime; | |
10 unrestricted double endTime; | |
11 unrestricted double activeDuration; | |
12 double? localTime; | |
13 unrestricted double timeFraction; | |
14 unsigned long? currentIteration; | |
15 | |
16 // FIXME: These should be inherited from AnimationTimingProperties | |
17 double delay = 0; | 8 double delay = 0; |
18 double endDelay = 0; | 9 double endDelay = 0; |
19 DOMString fill = "auto"; | 10 DOMString fill = "auto"; |
20 double iterationStart = 0.0; | 11 double iterationStart = 0.0; |
21 unrestricted double iterations = 1.0; | 12 unrestricted double iterations = 1.0; |
22 // FIXME: Default should be 'auto' | 13 (unrestricted double or DOMString) duration = "auto"; |
23 (unrestricted double or DOMString) duration; | |
24 double playbackRate = 1.0; | 14 double playbackRate = 1.0; |
25 DOMString direction = "normal"; | 15 DOMString direction = "normal"; |
26 DOMString easing = "linear"; | 16 DOMString easing = "linear"; |
27 }; | 17 }; |
OLD | NEW |