blob: 772b2e6c816191002db74332c2ae5f9a7f32dbab [file] [log] [blame]
// 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.
// http://www.w3.org/TR/web-animations/#the-animationtimeline-interface
// TODO(dstockwell): This interface has several changes in the latest spec:
// https://w3c.github.io/web-animations/#the-animationtimeline-interface
[
RuntimeEnabled=WebAnimationsAPI,
GarbageCollected,
] interface AnimationTimeline {
attribute double? currentTime;
attribute double playbackRate;
Animation play(AnimationEffectReadOnly source);
sequence<Animation> getAnimations();
};