mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
LibWeb: Fix broken parsing of </select> during "in select" insertion
This commit is contained in:
parent
17d26b92f8
commit
2f26d4c6a1
Notes:
sideshowbarker
2024-07-19 05:38:19 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2f26d4c6a1a
1 changed files with 1 additions and 1 deletions
|
@ -1933,7 +1933,7 @@ void HTMLDocumentParser::handle_in_select(HTMLToken& token)
|
|||
}
|
||||
|
||||
if (token.is_end_tag() && token.tag_name() == HTML::TagNames::select) {
|
||||
if (m_stack_of_open_elements.has_in_select_scope(HTML::TagNames::select)) {
|
||||
if (!m_stack_of_open_elements.has_in_select_scope(HTML::TagNames::select)) {
|
||||
PARSE_ERROR();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue