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

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