mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-08 09:35:15 +00:00
LibWeb: Implement the "self closing start tag" tokenizer state
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user