mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibWeb: Add CSS Tokenizer::consume_as_much_whitespace_as_possible()
This is a step in the spec in 3 places, and we had it implemented differently in each one. This unifies them and makes it clearer what we're doing.
This commit is contained in:
parent
dfbdc20f87
commit
9a2eecaca4
2 changed files with 12 additions and 21 deletions
|
@ -91,6 +91,7 @@ private:
|
|||
[[nodiscard]] Token consume_a_url_token();
|
||||
void consume_the_remnants_of_a_bad_url();
|
||||
void consume_comments();
|
||||
void consume_as_much_whitespace_as_possible();
|
||||
void reconsume_current_input_code_point();
|
||||
[[nodiscard]] static bool is_valid_escape_sequence(U32Twin);
|
||||
[[nodiscard]] bool would_start_an_identifier();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue