ladybird/Libraries/LibWeb/CSS/Parser
Sam Atkins b6032b0fcd LibWeb/CSS: Reimplement var()/attr() as arbitrary substitution functions
"Arbitrary substitution functions" are a family of functions that
includes var() and attr(). All of them resolve to an arbitrary set of
component values that are not known at parse-time, so they have to be
substituted at computed-value time.

Besides it being nice to follow the spec closely, this means we'll be
able to implement the others (such as `if()` and `inherit()`) more
easily.

The main omission here is the new "spread syntax", which can be
implemented in the future.
2025-07-09 16:44:20 +01:00
..
ArbitrarySubstitutionFunctions.cpp LibWeb/CSS: Reimplement var()/attr() as arbitrary substitution functions 2025-07-09 16:44:20 +01:00
ArbitrarySubstitutionFunctions.h LibWeb/CSS: Reimplement var()/attr() as arbitrary substitution functions 2025-07-09 16:44:20 +01:00
ComponentValue.cpp LibWeb/CSS: Include guaranteed-invalid value in ComponentValue 2025-07-09 16:44:20 +01:00
ComponentValue.h LibWeb/CSS: Include guaranteed-invalid value in ComponentValue 2025-07-09 16:44:20 +01: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/CSS: Reimplement var()/attr() as arbitrary substitution functions 2025-07-09 16:44:20 +01:00
PropertyParsing.cpp LibWeb: Produce computed values for custom properties 2025-07-09 16:44:20 +01: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: Stop converting at-rule names to lowercase 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/CSS: Include guaranteed-invalid value in ComponentValue 2025-07-09 16:44:20 +01:00
ValueParsing.cpp LibWeb/CSS: Reimplement var()/attr() as arbitrary substitution functions 2025-07-09 16:44:20 +01:00