1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:37:45 +00:00

LibWeb: Add a default DocumentTimeline object to DOM::Document

This commit is contained in:
Matthew Olsson 2023-11-04 08:38:46 -07:00 committed by Andreas Kling
parent 734076946b
commit 2fbb9649e3
3 changed files with 21 additions and 0 deletions

View file

@ -1,3 +1,4 @@
#import <Animations/DocumentTimeline.idl>
#import <CSS/StyleSheetList.idl>
#import <DOM/Comment.idl>
#import <DOM/DOMImplementation.idl>
@ -112,6 +113,9 @@ interface Document : Node {
[NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
Selection? getSelection();
// https://www.w3.org/TR/web-animations-1/#extensions-to-the-document-interface
readonly attribute DocumentTimeline timeline;
};
dictionary ElementCreationOptions {