ladybird/Libraries/LibWeb/CSS/Parser
Callum Law 39fdcbc526 LibWeb: Improve support for CalculatedStyleValue in translate
- Omit calcs that are resolved to `0px` from the serialized value
- Allow CSV to be the 'Z' component in interpolated value.
- Allow calcs with mixed percentages in the first two arguments.

To achieve the third item above the concept of a "special" value parsing
context has been added - this will also be useful for instance for
different arguments of color functions having different contexts.

Gains us 23 WPT tests
2025-08-08 09:45:00 +01:00
..
ArbitrarySubstitutionFunctions.cpp LibWeb/CSS: Implement env() as an arbitrary substitution function 2025-08-07 16:38:29 +02:00
ArbitrarySubstitutionFunctions.h LibWeb/CSS: Implement env() as an arbitrary substitution function 2025-08-07 16:38:29 +02:00
ComponentValue.cpp
ComponentValue.h LibWeb: Implement faster equals() for UnresolvedStyleValue 2025-07-30 11:06:05 +02:00
DescriptorParsing.cpp LibWeb/CSS: Use ErrorReporter for property/descriptor parsing errors 2025-08-04 10:50:09 +01:00
Dimension.h
ErrorReporter.cpp WebContent+LibWeb/CSS: Add debug request to dump CSS errors 2025-08-04 10:50:09 +01:00
ErrorReporter.h WebContent+LibWeb/CSS: Add debug request to dump CSS errors 2025-08-04 10:50:09 +01:00
GradientParsing.cpp LibWeb/CSS: Remove unused Debug.h include from GradientParsing.cpp 2025-08-04 10:50:09 +01:00
Helpers.cpp
MediaParsing.cpp LibWeb/CSS: Use ErrorReporter for media query parsing 2025-08-04 10:50:09 +01:00
Parser.cpp LibWeb: Improve support for CalculatedStyleValue in translate 2025-08-08 09:45:00 +01:00
Parser.h LibWeb: Improve support for CalculatedStyleValue in translate 2025-08-08 09:45:00 +01:00
PropertyParsing.cpp LibWeb: Improve support for CalculatedStyleValue in translate 2025-08-08 09:45:00 +01:00
RuleContext.cpp
RuleContext.h
RuleParsing.cpp LibWeb/CSS: Parse initial value using syntax from @property 2025-08-04 11:08:46 +01:00
SelectorParsing.cpp LibWeb/CSS: Use ErrorReporter for selector parsing errors 2025-08-04 10:50:09 +01:00
Syntax.cpp
Syntax.h
SyntaxParsing.cpp LibWeb/CSS: Use ErrorReporter for value-parsing errors 2025-08-04 10:50:09 +01:00
SyntaxParsing.h
Token.cpp
Token.h LibWeb/CSS: Add dump_string() method to TokenStream 2025-08-04 10:50:09 +01:00
Tokenizer.cpp
Tokenizer.h
TokenStream.h LibWeb/CSS: Add dump_string() method to TokenStream 2025-08-04 10:50:09 +01:00
Types.cpp LibWeb/CSS: Implement env() as an arbitrary substitution function 2025-08-07 16:38:29 +02:00
Types.h LibWeb/CSS: Implement env() as an arbitrary substitution function 2025-08-07 16:38:29 +02:00
ValueParsing.cpp LibWeb: Improve support for CalculatedStyleValue in translate 2025-08-08 09:45:00 +01:00