mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
LibWeb: Implement the adoption steps for <template> elements
While I'm here with the cloning steps, let's implement this too.
This commit is contained in:
parent
a7fa757dd1
commit
62c015dc96
2 changed files with 9 additions and 0 deletions
|
@ -21,6 +21,7 @@ public:
|
|||
NonnullRefPtr<DOM::DocumentFragment> content() { return *m_content; }
|
||||
const NonnullRefPtr<DOM::DocumentFragment> content() const { return *m_content; }
|
||||
|
||||
virtual void adopted_from(DOM::Document&) override;
|
||||
virtual void cloned(Node& copy, bool clone_children) override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue