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

Side by Side Diff: Source/core/animation/ComputedTimingProperties.idl

Issue 939623002: Add TypeChecking=Unrestricted to Web Animation APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop AnimationAnimationPlayerTest.SetCurrentTimeUnrestrictedDouble 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/animation/AnimationTimeline.idl ('k') | Source/core/animation/Timing.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // FIXME: Should extend AnimationTimingProperties 5 // FIXME: Should extend AnimationTimingProperties
6 dictionary ComputedTimingProperties { 6 [
7 TypeChecking=Unrestricted,
8 ] dictionary ComputedTimingProperties {
7 double startTime; 9 double startTime;
8 unrestricted double endTime; 10 unrestricted double endTime;
9 unrestricted double activeDuration; 11 unrestricted double activeDuration;
10 double? localTime; 12 double? localTime;
11 unrestricted double timeFraction; 13 unrestricted double timeFraction;
12 unsigned long? currentIteration; 14 unsigned long? currentIteration;
13 15
14 // FIXME: These should be inherited from AnimationTimingProperties 16 // FIXME: These should be inherited from AnimationTimingProperties
15 double delay = 0; 17 double delay = 0;
16 double endDelay = 0; 18 double endDelay = 0;
17 DOMString fill = "auto"; 19 DOMString fill = "auto";
18 double iterationStart = 0.0; 20 double iterationStart = 0.0;
19 unrestricted double iterations = 1.0; 21 unrestricted double iterations = 1.0;
20 // FIXME: Default should be 'auto' 22 // FIXME: Default should be 'auto'
21 (unrestricted double or DOMString) duration; 23 (unrestricted double or DOMString) duration;
22 double playbackRate = 1.0; 24 double playbackRate = 1.0;
23 DOMString direction = "normal"; 25 DOMString direction = "normal";
24 DOMString easing = "linear"; 26 DOMString easing = "linear";
25 }; 27 };
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationTimeline.idl ('k') | Source/core/animation/Timing.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698