ladybird/Libraries/LibWeb/CSS/Parser
Sam Atkins d5bee680b0 LibWeb/CSS: Construct all CSS Tokens in a consistent way
Add `create_foo()` static methods for the missing Token::Types, and use
them in the Tokenizer. This means we slightly deviate from the spec now:
it says "create foo token... set its bar to 32", but we now just wait
and construct the Token fully-formed. But those cases are short so it
should still be clear what we're doing.

This makes it possible to construct all kinds of Token elsewhere, such
as for testing purposes.
2025-07-09 15:04:57 +01:00
..
ComponentValue.cpp
ComponentValue.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
DescriptorParsing.cpp LibWeb/CSS: Don't remove whitespace early when parsing descriptor values 2025-07-03 08:22:30 +01:00
Dimension.h LibWeb/CSS: Add Parser::Dimension::to_string() 2024-12-18 12:21:22 +00:00
GradientParsing.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
Helpers.cpp LibWeb/CSS: Make @page selector parsing accessible 2025-05-16 16:42:10 +01:00
MediaParsing.cpp LibWeb/CSS: Treat block at-rules with no block as invalid 2025-06-25 09:02:45 +02:00
Parser.cpp LibWeb: Treat a CSS declaration with a "--" property name as invalid 2025-06-25 17:09:29 +01:00
Parser.h LibWeb: Parse border-image shorthand property 2025-07-03 10:19:44 +01:00
PropertyParsing.cpp LibWeb/CSS: Update definition for cursor property 2025-07-09 13:21:26 +02:00
RuleContext.cpp LibWeb/CSS: Add basic implementation of CSSMarginRule 2025-05-16 11:01:39 +01:00
RuleContext.h LibWeb/CSS: Add basic implementation of CSSMarginRule 2025-05-16 11:01:39 +01:00
RuleParsing.cpp LibWeb/CSS: Treat block at-rules with no block as invalid 2025-06-25 09:02:45 +02:00
SelectorParsing.cpp LibWeb: Treat CSS selectors containing undeclared namespaces as invalid 2025-06-24 12:51:12 +01:00
Token.cpp LibWeb/CSS: Construct all CSS Tokens in a consistent way 2025-07-09 15:04:57 +01:00
Token.h LibWeb/CSS: Construct all CSS Tokens in a consistent way 2025-07-09 15:04:57 +01:00
Tokenizer.cpp LibWeb/CSS: Construct all CSS Tokens in a consistent way 2025-07-09 15:04:57 +01:00
Tokenizer.h LibWeb/CSS: Construct all CSS Tokens in a consistent way 2025-07-09 15:04:57 +01:00
TokenStream.h LibWeb/CSS: When dumping CSS tokens, point at the next one 2025-05-23 19:39:23 +01:00
Types.cpp LibWeb/CSS: Move functions for detecting var()/attr() into Token types 2025-03-28 09:15:02 +00:00
Types.h LibWeb: Allow anonymous layer block rule with no declarations 2025-06-17 08:58:00 +01:00
ValueParsing.cpp LibWeb: Parse grid track placements closer to spec 2025-07-08 17:26:16 +01:00