Index: core/animation/Animation.idl |
diff --git a/core/animation/Animation.idl b/core/animation/Animation.idl |
index ee19ab068e2bc5374881b7371b1d7ae0918cdccc..02b98bf8234570c35b31e85820a75219fe3f3fa4 100644 |
--- a/core/animation/Animation.idl |
+++ b/core/animation/Animation.idl |
@@ -28,10 +28,14 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// http://dev.w3.org/fxtf/web-animations/#idl-def-Animation |
+ |
[ |
+ // FIXME: should be optional union type http://crbug.com/240176 |
+ Constructor(Element? target, sequence<Dictionary> keyframes), |
+ Constructor(Element? target, sequence<Dictionary> keyframes, double timingInput), |
+ Constructor(Element? target, sequence<Dictionary> keyframes, Dictionary timingInput), |
+ RaisesException=Constructor, |
RuntimeEnabled=WebAnimationsAPI, |
- Constructor(Element target, sequence<Dictionary> keyframes, Dictionary timingInput), |
- Constructor(Element target, sequence<Dictionary> keyframes, double timingInput), |
- Constructor(Element target, sequence<Dictionary> keyframes), |
-] interface Animation : TimedItem { |
+] interface Animation : AnimationNode { |
}; |