Index: third_party/WebKit/Source/core/animation/KeyframeEffectOptions.idl |
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectOptions.idl b/third_party/WebKit/Source/core/animation/KeyframeEffectOptions.idl |
index 95859482b40d8cca73d52b5685035bf8798269e5..235551eb0e7bd23e96f37b4b84adb814c335f924 100644 |
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectOptions.idl |
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectOptions.idl |
@@ -4,18 +4,19 @@ |
// https://w3c.github.io/web-animations/#the-animationeffecttimingproperties-dictionary |
+enum FillMode { "none", "forwards", "backwards", "both", "auto" }; |
+enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" }; |
+ |
// 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"; |
+ FillMode 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"; |
+ PlaybackDirection direction = "normal"; |
DOMString easing = "linear"; |
}; |