1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:18:11 +00:00

LibWeb: Remove broken CSS:Parser::is_combinator()

A single DELIM token is only one character long, so the check for
a "||" DELIM didn't work. We now just do the check inline.
This commit is contained in:
Sam Atkins 2021-07-02 13:01:38 +01:00 committed by Andreas Kling
parent 9115c23bd5
commit f9ffa34622
2 changed files with 20 additions and 16 deletions

View file

@ -69,7 +69,6 @@ private:
Token peek_token();
Token current_token();
void reconsume_current_input_token();
bool is_combinator(String);
NonnullRefPtrVector<QualifiedStyleRule> consume_a_list_of_rules(bool top_level);
NonnullRefPtr<AtStyleRule> consume_an_at_rule();