mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Don't process frameset token twice in "in body" insertion mode
We were neglecting to return after handling the `frameset` start tag, which caused us to process it twice, once properly and once generically. 54 new passes in WPT/html/syntax/parsing/ :^)
This commit is contained in:
committed by
Andreas Kling
parent
6f7b865cd1
commit
2e59dbd10f
Notes:
github-actions[bot]
2025-02-20 13:33:43 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/2e59dbd10f4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3626 Reviewed-by: https://github.com/shannonbooth
@@ -1897,6 +1897,8 @@ void HTMLParser::handle_in_body(HTMLToken& token)
|
||||
|
||||
// 4. Switch the insertion mode to "in frameset".
|
||||
m_insertion_mode = InsertionMode::InFrameset;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// -> An end-of-file token
|
||||
|
||||
Reference in New Issue
Block a user