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

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

Issue 1092203002: Document the Web Animation interfaces with spec links and TODOs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update as per dstockwell's feedback Created 5 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 | « Source/core/animation/AnimationTimingProperties.idl ('k') | Source/core/animation/DocumentAnimation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/ComputedTimingProperties.idl
diff --git a/Source/core/animation/ComputedTimingProperties.idl b/Source/core/animation/ComputedTimingProperties.idl
index 7e3edc10b3432ca170a37a8c2b426dbf605ca30f..cde76f590d7bc466abaee74a9a81855646659149 100644
--- a/Source/core/animation/ComputedTimingProperties.idl
+++ b/Source/core/animation/ComputedTimingProperties.idl
@@ -2,11 +2,16 @@
// 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-computedtimingproperties-dictionary
+
dictionary ComputedTimingProperties : AnimationTimingProperties {
+ // TODO(dstockwell): There is no startTime member in the spec.
double startTime;
unrestricted double endTime;
unrestricted double activeDuration;
double? localTime;
+ // TODO(dstockwell): The timeFraction and currentIteration members should
+ // both be of type unrestricted double? (nullable).
unrestricted double timeFraction;
unsigned long? currentIteration;
};
« no previous file with comments | « Source/core/animation/AnimationTimingProperties.idl ('k') | Source/core/animation/DocumentAnimation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698