mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 14:58:46 +00: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:
parent
6f7b865cd1
commit
2e59dbd10f
Notes:
github-actions[bot]
2025-02-20 13:33:43 +00:00
Author: https://github.com/awesomekling
Commit: 2e59dbd10f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3626
Reviewed-by: https://github.com/shannonbooth
15 changed files with 76 additions and 83 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue