1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 07:44:57 +00:00
serenity/Userland/Libraries/LibWeb/CSS/Parser
Sam Atkins c914e732d2 LibWeb+Base: Fix An+B of foo parsing
When I wrote the An+B parser, it was guaranteed to have no
non-whitespace tokens after it. This is no longer true with the `of
foo` syntax, so this patch corrects the logic when there is no `+B`
segment.

This makes this case shown on Twitter work correctly. :^)
https://twitter.com/simevidas/status/1506657566012678151
2022-03-24 18:08:45 +01:00
..
DeclarationOrAtRule.h LibWeb: Add accessors to CSS::DeclarationOrAtRule 2021-07-11 23:19:56 +02:00
Parser.cpp LibWeb+Base: Fix An+B of foo parsing 2022-03-24 18:08:45 +01:00
Parser.h LibWeb: Implement disallowing inset when parsing shadows 2022-03-24 18:08:34 +01:00
StyleBlockRule.h LibWeb: Don't copy Tokens twice on StyleBlockRule initialization 2022-03-21 12:49:00 +01:00
StyleComponentValueRule.h LibWeb: Make StyleComponentValueRule use a Variant 2022-03-22 15:47:36 +01:00
StyleDeclarationRule.h LibWeb: Add an enum for !important 2022-02-12 16:13:27 +00:00
StyleFunctionRule.h LibWeb: Parse and resolve UnresolvedStyleValues 2021-12-09 21:30:31 +01:00
StyleRule.h LibWeb: Fix constness of return type from StyleRule::block() 2022-03-21 12:49:00 +01:00
StyleRules.cpp LibWeb: Make StyleComponentValueRule use a Variant 2022-03-22 15:47:36 +01:00
Token.cpp LibWeb: Tidy up CSS::Token::to_debug_string() 2022-03-22 15:47:36 +01:00
Token.h LibWeb: Remove separate Token::m_unit field 2022-03-22 15:47:36 +01:00
Tokenizer.cpp LibWeb: Remove separate Token::m_unit field 2022-03-22 15:47:36 +01:00
Tokenizer.h LibWeb: Use CSS::Number for Token numeric values 2022-03-22 15:47:36 +01:00