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

Unified Diff: Source/core/animation/AnimationTimingProperties.idl

Issue 947923002: Add AnimationTimingProperties dictionary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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: Source/core/animation/AnimationTimingProperties.idl
diff --git a/Source/core/animation/ComputedTimingProperties.idl b/Source/core/animation/AnimationTimingProperties.idl
similarity index 52%
copy from Source/core/animation/ComputedTimingProperties.idl
copy to Source/core/animation/AnimationTimingProperties.idl
index f480041de7affcc582b83eca04ca4a0afadd2e80..864e6f8e8517d83927519e2fb9489cfabc766b72 100644
--- a/Source/core/animation/ComputedTimingProperties.idl
+++ b/Source/core/animation/AnimationTimingProperties.idl
@@ -1,26 +1,16 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// 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.
-// FIXME: Should extend AnimationTimingProperties
[
TypeChecking=Unrestricted,
-] dictionary ComputedTimingProperties {
- double startTime;
- unrestricted double endTime;
- unrestricted double activeDuration;
- double? localTime;
- unrestricted double timeFraction;
- unsigned long? currentIteration;
-
- // FIXME: These should be inherited from AnimationTimingProperties
+] dictionary AnimationTimingProperties {
double delay = 0;
double endDelay = 0;
DOMString fill = "auto";
double iterationStart = 0.0;
unrestricted double iterations = 1.0;
- // FIXME: Default should be 'auto'
- (unrestricted double or DOMString) duration;
+ (unrestricted double or DOMString) duration = "auto";
double playbackRate = 1.0;
DOMString direction = "normal";
DOMString easing = "linear";

Powered by Google App Engine
This is Rietveld 408576698