Index: core/animation/ElementAnimation.idl |
diff --git a/core/animation/ElementAnimation.idl b/core/animation/ElementAnimation.idl |
index e5c5137854939fac5adad3b4820e86d63dd63989..f524939ba453c861c9821bff08ae5d8769733a00 100644 |
--- a/core/animation/ElementAnimation.idl |
+++ b/core/animation/ElementAnimation.idl |
@@ -28,10 +28,12 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-[ |
- RuntimeEnabled=WebAnimationsAPI, |
-] partial interface Element { |
- Animation animate(sequence<Dictionary> keyframes, Dictionary timingInput); |
- Animation animate(sequence<Dictionary> keyframes, double timingInput); |
- Animation animate(sequence<Dictionary> keyframes); |
+// http://www.w3.org/TR/web-animations/#idl-def-Element |
+// FIXME: move to Animatable |
+// 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); |
}; |