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:
Andreas Kling 2025-02-19 12:56:37 +01:00 committed by Andreas Kling
parent 6f7b865cd1
commit 2e59dbd10f
Notes: github-actions[bot] 2025-02-20 13:33:43 +00:00
15 changed files with 76 additions and 83 deletions

View file

@ -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