mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibWeb: Parse param/source/track start tags during "in body" insertion
This commit is contained in:
parent
11f2c59219
commit
3337365000
Notes:
sideshowbarker
2024-07-19 05:49:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/33373650004
1 changed files with 4 additions and 1 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Reference in a new issue