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:
parent
affb4ef01b
commit
449c6c5604
4 changed files with 14 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue