mirror of
https://github.com/RGBCube/serenity
synced 2025-07-07 09:17:36 +00:00
LibWeb: Handle "xmp" start tag during "in body"
This commit is contained in:
parent
c70bd0ba58
commit
a3bf3a5d68
1 changed files with 7 additions and 1 deletions
|
@ -1284,7 +1284,13 @@ void HTMLDocumentParser::handle_in_body(HTMLToken& token)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (token.is_start_tag() && token.tag_name() == "xmp") {
|
if (token.is_start_tag() && token.tag_name() == "xmp") {
|
||||||
TODO();
|
if (m_stack_of_open_elements.has_in_button_scope("p")) {
|
||||||
|
close_a_p_element();
|
||||||
|
}
|
||||||
|
reconstruct_the_active_formatting_elements();
|
||||||
|
m_frameset_ok = false;
|
||||||
|
parse_generic_raw_text_element(token);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (token.is_start_tag() && token.tag_name() == "iframe") {
|
if (token.is_start_tag() && token.tag_name() == "iframe") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue