1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

LibWeb: Add selector support to the new CSSParser

This is stolen from the old parser, but it seems to parse fine :^)
This commit is contained in:
stelar7 2021-04-29 21:16:28 +02:00 committed by Andreas Kling
parent 5acac54085
commit 55446172cb
6 changed files with 236 additions and 2 deletions

View file

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