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-computedanimationtiming-interface |
| 6 |
5 dictionary ComputedTimingProperties : AnimationTimingProperties { | 7 dictionary ComputedTimingProperties : AnimationTimingProperties { |
| 8 // TODO(dstockwell): There is no startTime member in the spec. |
6 double startTime; | 9 double startTime; |
7 unrestricted double endTime; | 10 unrestricted double endTime; |
8 unrestricted double activeDuration; | 11 unrestricted double activeDuration; |
9 double? localTime; | 12 double? localTime; |
| 13 // TODO(dstockwell): The timeFraction and currentIteration members should |
| 14 // both be of type unrestricted double? (nullable). |
10 unrestricted double timeFraction; | 15 unrestricted double timeFraction; |
11 unsigned long? currentIteration; | 16 unsigned long? currentIteration; |
12 }; | 17 }; |
OLD | NEW |