mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
LibWeb: Add a default DocumentTimeline object to DOM::Document
This commit is contained in:
parent
734076946b
commit
2fbb9649e3
3 changed files with 21 additions and 0 deletions
|
@ -534,6 +534,8 @@ public:
|
|||
|
||||
HashMap<AK::URL, HTML::SharedImageRequest*>& shared_image_requests();
|
||||
|
||||
JS::NonnullGCPtr<Animations::DocumentTimeline> timeline();
|
||||
|
||||
protected:
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
@ -740,6 +742,9 @@ private:
|
|||
JS::GCPtr<HTML::SessionHistoryEntry> m_latest_entry;
|
||||
|
||||
HashMap<AK::URL, HTML::SharedImageRequest*> m_shared_image_requests;
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#document-default-document-timeline
|
||||
JS::GCPtr<Animations::DocumentTimeline> m_default_timeline;
|
||||
};
|
||||
|
||||
template<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue