LibWeb: Implement the "self closing start tag" tokenizer state

This commit is contained in:
Andreas Kling 2020-05-27 18:07:51 +02:00
parent a34258b3d7
commit 1de29e3f59
Notes: sideshowbarker 2024-07-19 06:04:20 +09:00

View file

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