mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
This is the first step toward implementing the Web Animations specification. It adds support for the `AnimationTimeline` and `DocumentTimeline` specification concepts. Note that there was already an `AnimationTimeline`, but it did not implement the specification. Testing: Various WPT start to pass or no longer error / timeout. Signed-off-by: Martin Robinson <mrobinson@abandonedwig.info> Co-authored-by: Martin Robinson <mrobinson@abandonedwig.info>
10 lines
363 B
Plaintext
10 lines
363 B
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://drafts.csswg.org/web-animations-1/#animationtimeline
|
|
[Exposed=Window]
|
|
interface AnimationTimeline {
|
|
readonly attribute double? currentTime;
|
|
};
|