mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
This also allows us to remove the now redundant `CSSNumberishTime::as_milliseconds()` method
10 lines
410 B
Plaintext
10 lines
410 B
Plaintext
#import <CSS/CSSNumericValue.idl>
|
|
|
|
// https://drafts.csswg.org/web-animations-2/#the-animationtimeline-interface
|
|
[Exposed=Window]
|
|
interface AnimationTimeline {
|
|
[ImplementedAs=current_time_for_bindings] readonly attribute CSSNumberish? currentTime;
|
|
[ImplementedAs=duration_for_bindings] readonly attribute CSSNumberish? duration;
|
|
[FIXME] Animation play (optional AnimationEffect? effect = null);
|
|
};
|