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