mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb: Add namespace to Element
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 01:48:45 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/e8a9e8aed51 Pull-request: https://github.com/SerenityOS/serenity/pull/3748
@@ -117,7 +117,7 @@ private:
|
||||
void generate_implied_end_tags(const FlyString& exception = {});
|
||||
void generate_all_implied_end_tags_thoroughly();
|
||||
bool stack_of_open_elements_has_element_with_tag_name_in_scope(const FlyString& tag_name);
|
||||
NonnullRefPtr<DOM::Element> create_element_for(const HTMLToken&);
|
||||
NonnullRefPtr<DOM::Element> create_element_for(const HTMLToken&, const FlyString& namespace_);
|
||||
|
||||
struct AdjustedInsertionLocation {
|
||||
RefPtr<DOM::Node> parent;
|
||||
@@ -128,6 +128,7 @@ private:
|
||||
|
||||
DOM::Text* find_character_insertion_node();
|
||||
void flush_character_insertions();
|
||||
RefPtr<DOM::Element> insert_foreign_element(const HTMLToken&, const FlyString&);
|
||||
RefPtr<DOM::Element> insert_html_element(const HTMLToken&);
|
||||
DOM::Element& current_node();
|
||||
DOM::Element& node_before_current_node();
|
||||
|
||||
Reference in New Issue
Block a user