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