1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:37:34 +00:00

LibWeb: Add simple implementation of Document.createElementNS

This commit is contained in:
Luke 2021-01-28 20:15:04 +00:00 committed by Andreas Kling
parent affb4ef01b
commit 449c6c5604
4 changed files with 14 additions and 3 deletions

View file

@ -146,6 +146,7 @@ public:
JS::Value run_javascript(const StringView&);
NonnullRefPtr<Element> create_element(const String& tag_name);
NonnullRefPtr<Element> create_element_ns(const String& namespace_, const String& qualifed_name);
NonnullRefPtr<DocumentFragment> create_document_fragment();
NonnullRefPtr<Text> create_text_node(const String& data);
NonnullRefPtr<Comment> create_comment(const String& data);