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

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

Issue 356843007: Remove meaningless uses of [TypeChecking=Nullable] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/core/dom/Element.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 [ 5 [
6 RuntimeEnabled=WebAnimationsAPI, 6 RuntimeEnabled=WebAnimationsAPI,
7 ImplementedAs=AnimationNodeTiming, 7 ImplementedAs=AnimationNodeTiming,
8 WillBeGarbageCollected, 8 WillBeGarbageCollected,
9 ] interface Timing { 9 ] interface Timing {
10 attribute double delay; 10 attribute double delay;
11 attribute double endDelay; 11 attribute double endDelay;
12 attribute DOMString fill; 12 attribute DOMString fill;
13 attribute double iterationStart; 13 attribute double iterationStart;
14 attribute double iterations; 14 attribute double iterations;
15 15
16 // FIXME: This uses a NamedPropertyGetter to implement the 'duration' attrib ute 16 // FIXME: This uses a NamedPropertyGetter to implement the 'duration' attrib ute
17 // because duration has a union type (which is tricky to do with an attribut e). 17 // because duration has a union type (which is tricky to do with an attribut e).
18 // Fix will be in a follow-up patch if there is a better solution. 18 // Fix will be in a follow-up patch if there is a better solution.
19 [NotEnumerable, ImplementedAs=getDuration] getter (double or DOMString) (DOM String name); 19 [NotEnumerable, ImplementedAs=getDuration] getter (double or DOMString) (DOM String name);
20 20
21 // FIXME: If the user calls animation.specified.duration = "" (empty string) then duration 21 // FIXME: If the user calls animation.specified.duration = "" (empty string) then duration
22 // gets set to 0 (This is correct behavior for IDL). Correct result is for d uration to 22 // gets set to 0 (This is correct behavior for IDL). Correct result is for d uration to
23 // be set to 'auto'. 23 // be set to 'auto'.
24 [TypeChecking=Interface|Nullable, ImplementedAs=setDuration] setter double ( DOMString name, double duration); 24 [TypeChecking=Interface, ImplementedAs=setDuration] setter double (DOMString name, double duration);
25 25
26 attribute double playbackRate; 26 attribute double playbackRate;
27 attribute DOMString direction; 27 attribute DOMString direction;
28 attribute DOMString easing; 28 attribute DOMString easing;
29 }; 29 };
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698