1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 14:05:08 +00:00

LibWeb: Support parsing "select" elements (outside of tables)

This commit is contained in:
Andreas Kling 2020-05-30 19:58:52 +02:00
parent 60352c7b9b
commit ca6fbefbc9
4 changed files with 173 additions and 2 deletions

View file

@ -96,6 +96,8 @@ private:
void handle_in_row(HTMLToken&);
void handle_in_cell(HTMLToken&);
void handle_in_table_text(HTMLToken&);
void handle_in_select_in_table(HTMLToken&);
void handle_in_select(HTMLToken&);
void stop_parsing() { m_stop_parsing = true; }
@ -105,6 +107,7 @@ private:
RefPtr<Node> find_appropriate_place_for_inserting_node();
RefPtr<Element> insert_html_element(HTMLToken&);
Element& current_node();
Element& node_before_current_node();
void insert_character(u32 data);
void insert_comment(HTMLToken&);
void reconstruct_the_active_formatting_elements();