1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:37:45 +00:00

LibWeb: Implement Document.importNode

This commit is contained in:
Luke Wilde 2021-09-26 17:41:51 +01:00 committed by Andreas Kling
parent 3252d984ae
commit 27dfd0170e
3 changed files with 13 additions and 0 deletions

View file

@ -202,6 +202,7 @@ public:
bool in_quirks_mode() const { return m_quirks_mode == QuirksMode::Yes; }
void set_quirks_mode(QuirksMode mode) { m_quirks_mode = mode; }
ExceptionOr<NonnullRefPtr<Node>> import_node(NonnullRefPtr<Node> node, bool deep);
void adopt_node(Node&);
ExceptionOr<NonnullRefPtr<Node>> adopt_node_binding(NonnullRefPtr<Node>);