mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
LibWeb: Implement the cloning steps for <template> elements
This commit is contained in:
parent
5897bc5c1f
commit
a7fa757dd1
2 changed files with 18 additions and 0 deletions
|
@ -21,6 +21,8 @@ public:
|
|||
NonnullRefPtr<DOM::DocumentFragment> content() { return *m_content; }
|
||||
const NonnullRefPtr<DOM::DocumentFragment> content() const { return *m_content; }
|
||||
|
||||
virtual void cloned(Node& copy, bool clone_children) override;
|
||||
|
||||
private:
|
||||
DOM::Document& appropriate_template_contents_owner_document(DOM::Document&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue