mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
LibWeb: Make Document.createElement() lowercase HTML local names
Bring createElement() a little bit closer to spec-compliance.
This commit is contained in:
parent
03c468fb7d
commit
9e274d9501
2 changed files with 20 additions and 6 deletions
|
@ -191,7 +191,7 @@ public:
|
|||
|
||||
JS::Value run_javascript(StringView source, StringView filename = "(unknown)"sv);
|
||||
|
||||
ExceptionOr<JS::NonnullGCPtr<Element>> create_element(String const& tag_name);
|
||||
ExceptionOr<JS::NonnullGCPtr<Element>> create_element(FlyString const& local_name);
|
||||
ExceptionOr<JS::NonnullGCPtr<Element>> create_element_ns(String const& namespace_, String const& qualified_name);
|
||||
JS::NonnullGCPtr<DocumentFragment> create_document_fragment();
|
||||
JS::NonnullGCPtr<Text> create_text_node(String const& data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue