1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

LibWeb: Update "appropriate template contents owner document" AO

This was moved from HTMLTemplateElement to Document at some point,
so let's match the spec and move it here too.
This commit is contained in:
Andreas Kling 2022-10-29 13:06:24 +02:00
parent ccd72a2add
commit a4de30de5a
4 changed files with 42 additions and 29 deletions

View file

@ -27,9 +27,9 @@ private:
HTMLTemplateElement(DOM::Document&, DOM::QualifiedName);
virtual bool is_html_template_element() const final { return true; }
virtual void visit_edges(Cell::Visitor&) override;
DOM::Document& appropriate_template_contents_owner_document(DOM::Document&);
virtual void initialize(JS::Realm&) override;
virtual void visit_edges(Cell::Visitor&) override;
JS::GCPtr<DOM::DocumentFragment> m_content;
};