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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationEffectTimingProperties.idl

Issue 1943223002: Web Animations: Add AnimationEffectTimingProperties IDL dictionary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_nullableNull
Patch Set: https Created 4 years, 8 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 | « no previous file | third_party/WebKit/Source/core/animation/ComputedTimingProperties.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/AnimationEffectTimingProperties.idl
diff --git a/third_party/WebKit/Source/core/animation/AnimationEffectTimingProperties.idl b/third_party/WebKit/Source/core/animation/AnimationEffectTimingProperties.idl
new file mode 100644
index 0000000000000000000000000000000000000000..4fc30330f4216ba28d764888ab92f1ae29bb68e5
--- /dev/null
+++ b/third_party/WebKit/Source/core/animation/AnimationEffectTimingProperties.idl
@@ -0,0 +1,21 @@
+// Copyright 2016 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
+
+enum FillMode { "none", "forwards", "backwards", "both", "auto" };
+enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" };
+
+dictionary AnimationEffectTimingProperties {
+ double delay = 0;
+ double endDelay = 0;
+ FillMode fill = "auto";
+ double iterationStart = 0.0;
+ unrestricted double iterations = 1.0;
+ (unrestricted double or DOMString) duration = "auto";
+ // TODO(alancutter): Remove playbackRate.
+ double playbackRate = 1.0;
+ PlaybackDirection direction = "normal";
+ DOMString easing = "linear";
+};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/ComputedTimingProperties.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698