Index: core/animation/KeyframeEffectOptions.idl |
diff --git a/core/animation/KeyframeEffectOptions.idl b/core/animation/KeyframeEffectOptions.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..95859482b40d8cca73d52b5685035bf8798269e5 |
--- /dev/null |
+++ b/core/animation/KeyframeEffectOptions.idl |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://w3c.github.io/web-animations/#the-animationeffecttimingproperties-dictionary |
+ |
+// TODO(dstockwell): Rename this to AnimationEffectTimingProperties. |
+dictionary KeyframeEffectOptions { |
+ double delay = 0; |
+ double endDelay = 0; |
+ // TODO(dstockwell): The fill type should be FillMode. |
+ DOMString fill = "auto"; |
+ double iterationStart = 0.0; |
+ unrestricted double iterations = 1.0; |
+ (unrestricted double or DOMString) duration = "auto"; |
+ // TODO(dstockwell): There is no playbackRate member in the spec. |
+ double playbackRate = 1.0; |
+ // TODO(dstockwell): The direction type should be PlaybackDirection. |
+ DOMString direction = "normal"; |
+ DOMString easing = "linear"; |
+}; |