Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: core/animation/KeyframeEffectOptions.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/animation/KeyframeEffect.idl ('k') | core/clipboard/DataTransfer.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/animation/KeyframeEffectOptions.idl
diff --git a/core/animation/KeyframeEffectOptions.idl b/core/animation/KeyframeEffectOptions.idl
index 95859482b40d8cca73d52b5685035bf8798269e5..fbf78adbb3a8ade4b83b83419d04b6e0ea9bfbed 100644
--- a/core/animation/KeyframeEffectOptions.idl
+++ b/core/animation/KeyframeEffectOptions.idl
@@ -2,20 +2,21 @@
// 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
+// https://w3c.github.io/web-animations/#the-keyframeeffectoptions-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";
+ DOMString id = "";
};
« no previous file with comments | « core/animation/KeyframeEffect.idl ('k') | core/clipboard/DataTransfer.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698