mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +00:00
LibWeb: Implement the "self closing start tag" tokenizer state
This commit is contained in:
parent
a34258b3d7
commit
1de29e3f59
Notes:
sideshowbarker
2024-07-19 06:04:20 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/1de29e3f59b
1 changed files with 13 additions and 0 deletions
|
@ -759,6 +759,19 @@ _StartOfFunction:
|
|||
|
||||
BEGIN_STATE(SelfClosingStartTag)
|
||||
{
|
||||
ON('>')
|
||||
{
|
||||
m_current_token.m_tag.self_closing = true;
|
||||
SWITCH_TO(Data);
|
||||
}
|
||||
ON_EOF
|
||||
{
|
||||
TODO();
|
||||
}
|
||||
ANYTHING_ELSE
|
||||
{
|
||||
TODO();
|
||||
}
|
||||
}
|
||||
END_STATE
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue