mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 20:58:16 +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
Notes:
sideshowbarker
2024-07-18 01:59:00 +09:00
Author: https://github.com/AtkinsSJ
Commit: 9a2eecaca4
Pull-request: https://github.com/SerenityOS/serenity/pull/10563
Reviewed-by: https://github.com/alimpfard ✅
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