1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 04:17:34 +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) BEGIN_STATE(SelfClosingStartTag)
{ {
ON('>')
{
m_current_token.m_tag.self_closing = true;
SWITCH_TO(Data);
}
ON_EOF
{
TODO();
}
ANYTHING_ELSE
{
TODO();
}
} }
END_STATE END_STATE