mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
LibWeb: Implement the "self closing start tag" tokenizer state
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 06:04:20 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/1de29e3f59b
@@ -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