mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 07:09:47 +00:00
LibWeb: Handle "xmp" start tag during "in body"
This commit is contained in:
parent
c70bd0ba58
commit
a3bf3a5d68
Notes:
sideshowbarker
2024-07-19 05:50:58 +09:00
Author: https://github.com/kylemclean
Commit: a3bf3a5d68
Pull-request: https://github.com/SerenityOS/serenity/pull/2491
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