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 // Non-standard. | 5 // http://dev.w3.org/csswg/css-animations/#interface-animationevent |
6 | 6 |
7 dictionary AnimationEventInit : EventInit { | 7 dictionary AnimationEventInit : EventInit { |
8 DOMString animationName; | 8 DOMString animationName = ""; |
9 double elapsedTime; | 9 // TODO(philipj): elapsedTime should be float. |
| 10 double elapsedTime = 0.0; |
| 11 // TODO(philipj): DOMString pseudoElement = ""; |
10 }; | 12 }; |
OLD | NEW |