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

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

Issue 152853003: Web Animations API: Bindings for TimedItem.specified with readonly attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Small cleanup Created 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 [
6 RuntimeEnabled=WebAnimationsAPI,
7 ] interface TimedItemTiming {
dstockwell 2014/02/12 08:02:28 interface Timing
rjwright 2014/02/13 01:04:49 Done.
8 // FIXME: None of these are readonly in the spec. They need setters.
9 readonly attribute double delay;
10 readonly attribute DOMString fill;
11 readonly attribute double iterationStart;
12 readonly attribute double iterations;
13
14 // FIXME: This uses a NamedPropertyGetter to implement the 'duration' attrib ute
15 // because duration has a union type (which is tricky to do with an attribut e).
16 // Fix will be in a follow-up patch if there is a better solution.
17 [NotEnumerable, ImplementedAs=duration] getter (double or DOMString) (DOMStr ing name);
18
19 readonly attribute double playbackRate;
20 readonly attribute DOMString direction;
21 readonly attribute DOMString easing;
22 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698