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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffectOptions.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
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 fbf78adbb3a8ade4b83b83419d04b6e0ea9bfbed..ed76804a3dbae65738038105dcc927d988612706 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectOptions.idl
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectOptions.idl
@@ -1,22 +1,10 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// 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-keyframeeffectoptions-dictionary
-enum FillMode { "none", "forwards", "backwards", "both", "auto" };
-enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" };
-
-dictionary KeyframeEffectOptions {
- 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(dstockwell): There is no playbackRate member in the spec.
- double playbackRate = 1.0;
- PlaybackDirection direction = "normal";
- DOMString easing = "linear";
- DOMString id = "";
+dictionary KeyframeEffectOptions : AnimationEffectTimingProperties {
+ // TODO(alancutter): Implement iterationComposite, composite and spacing.
+ DOMString id = "";
};
« no previous file with comments | « third_party/WebKit/Source/core/animation/ComputedTimingProperties.idl ('k') | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698