mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02: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:
Notes:
sideshowbarker
2024-07-18 10:24:09 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/62c015dc96d Pull-request: https://github.com/SerenityOS/serenity/pull/8449
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user