| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // 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-animationeffecttiming-interface |
| // TODO(dstockwell): Should extend AnimationEffectTimingReadOnly |
| |
| [ |
| RuntimeEnabled=WebAnimationsAPI, |
| WillBeGarbageCollected, |
| ] interface AnimationEffectTiming { |
| attribute double delay; |
| attribute double endDelay; |
| attribute DOMString fill; |
| attribute double iterationStart; |
| attribute unrestricted double iterations; |
| attribute (unrestricted double or DOMString) duration; |
| // TODO(dstockwell): playbackRate has been removed from level 1. |
| attribute double playbackRate; |
| attribute DOMString direction; |
| attribute DOMString easing; |
| }; |