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

Side by Side Diff: Source/core/animation/ComputedTimingProperties.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 unified diff | Download patch
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
6 [ 5 [
7 TypeChecking=Unrestricted, 6 TypeChecking=Unrestricted,
8 ] dictionary ComputedTimingProperties { 7 ] dictionary ComputedTimingProperties : AnimationTimingProperties {
9 double startTime; 8 double startTime;
10 unrestricted double endTime; 9 unrestricted double endTime;
11 unrestricted double activeDuration; 10 unrestricted double activeDuration;
12 double? localTime; 11 double? localTime;
13 unrestricted double timeFraction; 12 unrestricted double timeFraction;
14 unsigned long? currentIteration; 13 unsigned long? currentIteration;
15
16 // FIXME: These should be inherited from AnimationTimingProperties
17 double delay = 0;
18 double endDelay = 0;
19 DOMString fill = "auto";
20 double iterationStart = 0.0;
21 unrestricted double iterations = 1.0;
22 // FIXME: Default should be 'auto'
23 (unrestricted double or DOMString) duration;
24 double playbackRate = 1.0;
25 DOMString direction = "normal";
26 DOMString easing = "linear";
27 }; 14 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698