| Index: Source/core/animation/ElementAnimation.idl
|
| diff --git a/Source/core/animation/ElementAnimation.idl b/Source/core/animation/ElementAnimation.idl
|
| index ccfbca7ee254095df084a9a1cca82d3dfe31201d..9d774f6abd3d543652abd53134540fd7b4020252 100644
|
| --- a/Source/core/animation/ElementAnimation.idl
|
| +++ b/Source/core/animation/ElementAnimation.idl
|
| @@ -33,8 +33,9 @@
|
| // http://dev.w3.org/fxtf/web-animations/#idl-def-Animatable
|
|
|
| partial interface Element {
|
| - // FIXME: needs support for union types http://crbug.com/240176
|
| - // AnimationPlayer animate((AnimationEffect or sequence<Dictionary>)? effect, optional (double or Dictionary) timing);
|
| - [Custom, RaisesException] AnimationPlayer animate(object effect, optional object timing);
|
| + // FIXME: Union types with dictionary type members doesn't work (yet).
|
| + // AnimationPlayer animate((AnimationEffect or sequence<Dictionary>)? effect, optional (double or AnimationTimingProperties) timing);
|
| + [RaisesException] AnimationPlayer animate((AnimationEffect or sequence<Dictionary>)? effect, optional double timing);
|
| + [RaisesException] AnimationPlayer animate((AnimationEffect or sequence<Dictionary>)? effect, AnimationTimingProperties timing);
|
| [RuntimeEnabled=WebAnimationsAPI] sequence<AnimationPlayer> getAnimationPlayers();
|
| };
|
|
|