1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 18:05:08 +00:00

LibWeb: Checking for "DOCTYPE" should be case insensitive in tokenizer

This commit is contained in:
Andreas Kling 2020-05-25 19:22:23 +02:00
parent 1df2a3d8ce
commit 556a6eea61
2 changed files with 12 additions and 13 deletions

View file

@ -132,8 +132,7 @@ public:
private:
Optional<u32> next_codepoint();
Optional<u32> peek_codepoint(size_t offset) const;
bool next_few_characters_are(const StringView&) const;
void consume(const StringView&);
bool consume_next_if_match(const StringView&, CaseSensitivity = CaseSensitivity::CaseSensitive);
void create_new_token(HTMLToken::Type);
bool current_end_tag_token_is_appropriate() const;