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

LibWeb: Add spec links to CSS Tokenizer

Also renamed `starts_with_a_number()` -> `would_start_a_number()` to
better match spec terminology.
This commit is contained in:
Sam Atkins 2021-10-21 16:49:12 +01:00 committed by Andreas Kling
parent 6edd7a4d73
commit dfbdc20f87
2 changed files with 21 additions and 8 deletions

View file

@ -95,8 +95,8 @@ private:
[[nodiscard]] static bool is_valid_escape_sequence(U32Twin);
[[nodiscard]] bool would_start_an_identifier();
[[nodiscard]] bool would_start_an_identifier(U32Triplet);
[[nodiscard]] bool starts_with_a_number() const;
[[nodiscard]] static bool starts_with_a_number(U32Triplet);
[[nodiscard]] bool would_start_a_number() const;
[[nodiscard]] static bool would_start_a_number(U32Triplet);
String m_decoded_input;
Utf8View m_utf8_view;