mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
LibWeb: Handle "xmp" start tag during "in body"
This commit is contained in:
committed by
Andreas Kling
parent
c70bd0ba58
commit
a3bf3a5d68
Notes:
sideshowbarker
2024-07-19 05:50:58 +09:00
Author: https://github.com/kylemclean Commit: https://github.com/SerenityOS/serenity/commit/a3bf3a5d681 Pull-request: https://github.com/SerenityOS/serenity/pull/2491
@@ -1284,7 +1284,13 @@ void HTMLDocumentParser::handle_in_body(HTMLToken& token)
|
||||
}
|
||||
|
||||
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") {
|
||||
|
||||
Reference in New Issue
Block a user