1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 22:04:59 +00:00

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