LibWeb: Implement enough HTML parsing to handle a small simple DOM :^)

We can now parse a little DOM like this:

<!DOCTYPE html>
<html>
    <head></head>
    <body>
        <div></div>
    </body>
</html>

This is pretty slow work, but the incremental progress is satisfying!
This commit is contained in:
Andreas Kling 2020-05-24 00:49:22 +02:00
parent fd1b31d0ff
commit e44c87cfff
Notes: sideshowbarker 2024-07-19 06:12:00 +09:00
5 changed files with 110 additions and 6 deletions

View file

@ -156,5 +156,7 @@ private:
size_t m_cursor { 0 };
HTMLToken m_current_token;
bool m_has_emitted_eof { false };
};
}