diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-05 21:59:46 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-05 21:59:46 +0200 |
commit | 333736500045382dcc8f30ba78996de89c892ab0 (patch) | |
tree | b29f2e96a9a07f72630337a71b8ed8199647f092 /Libraries/LibWeb/Parser | |
parent | 11f2c59219c8287243ba060371f6f0b09a1a5beb (diff) | |
download | serenity-333736500045382dcc8f30ba78996de89c892ab0.zip |
LibWeb: Parse param/source/track start tags during "in body" insertion
Diffstat (limited to 'Libraries/LibWeb/Parser')
-rw-r--r-- | Libraries/LibWeb/Parser/HTMLDocumentParser.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Parser/HTMLDocumentParser.cpp b/Libraries/LibWeb/Parser/HTMLDocumentParser.cpp index 26da7c289b..31747bf609 100644 --- a/Libraries/LibWeb/Parser/HTMLDocumentParser.cpp +++ b/Libraries/LibWeb/Parser/HTMLDocumentParser.cpp @@ -1258,7 +1258,10 @@ void HTMLDocumentParser::handle_in_body(HTMLToken& token) } if (token.is_start_tag() && token.tag_name().is_one_of("param", "source", "track")) { - TODO(); + insert_html_element(token); + m_stack_of_open_elements.pop(); + token.acknowledge_self_closing_flag_if_set(); + return; } if (token.is_start_tag() && token.tag_name() == "hr") { |