1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:07:46 +00:00

LibWeb: Add DocumentTimeline IDL object

This commit is contained in:
Matthew Olsson 2023-11-04 08:32:30 -07:00 committed by Andreas Kling
parent 521f8bd5f2
commit 734076946b
6 changed files with 138 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#import <Animations/AnimationTimeline.idl>
#import <HighResolutionTime/DOMHighResTimeStamp.idl>
// https://www.w3.org/TR/web-animations-1/#dictdef-documenttimelineoptions
dictionary DocumentTimelineOptions {
DOMHighResTimeStamp originTime = 0;
};
// https://www.w3.org/TR/web-animations-1/#documenttimeline
[Exposed=Window]
interface DocumentTimeline : AnimationTimeline {
constructor(optional DocumentTimelineOptions options = {});
};