ladybird/Libraries/LibWeb/CSS/Parser
Sam Atkins 0afa93e639 LibWeb/CSS: Add a Property -> CalculationContext factory method
We have this code duplicated in multiple places, and we'll want to
handle registered custom properties too at some point, so wrap it in a
reusable `CalculationContext::for_property()` method.

Noticed while doing this that ValueParsingContext will eventually need
to take a PropertyNameAndID, not a PropertyID, so I've added a FIXME.
2025-10-13 09:59:38 +01:00
..
ArbitrarySubstitutionFunctions.cpp LibWeb/CSS: Use dimension_for_unit() when we don't need the exact unit 2025-09-11 17:06:44 +01:00
ArbitrarySubstitutionFunctions.h LibWeb/CSS: Implement env() as an arbitrary substitution function 2025-08-07 16:38:29 +02:00
ComponentValue.cpp LibWeb/CSS: Include guaranteed-invalid value in ComponentValue 2025-07-09 16:44:20 +01:00
ComponentValue.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
DescriptorParsing.cpp LibWeb/CSS: Replace resolve_percentage_deprecated() with undeprecated 2025-09-24 16:33:53 +01:00
Dimension.h LibWeb/CSS: Add Parser::Dimension::to_string() 2024-12-18 12:21:22 +00:00
ErrorReporter.cpp WebContent+LibWeb/CSS: Add debug request to dump CSS errors 2025-08-04 10:50:09 +01:00
ErrorReporter.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
GradientParsing.cpp LibWeb/CSS: Use generated FooUnit types instead of Foo::Type 2025-09-11 17:06:44 +01:00
Helpers.cpp LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
MediaParsing.cpp LibWeb/CSS: Use ErrorReporter for media query parsing 2025-08-04 10:50:09 +01:00
Parser.cpp LibWeb: Use document's viewport when resolving lengths in media queries 2025-10-07 10:32:59 +01:00
Parser.h LibWeb/CSS: Add a Property -> CalculationContext factory method 2025-10-13 09:59:38 +01:00
PropertyParsing.cpp LibWeb: Parse corner-*-shape physical longhands 2025-10-09 10:23: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: Avoid dereferencing a null pointer to document 2025-09-10 16:57:36 +01:00
SelectorParsing.cpp LibWeb: Throw parsing error if ::slotted() argument is not 1 compound 2025-09-04 13:55:20 +01:00
Syntax.cpp LibWeb/CSS: Implement "parse with a <syntax>" 2025-07-16 14:47:45 +01:00
Syntax.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
SyntaxParsing.cpp LibWeb/CSS: Rename CSSKeywordValue -> KeywordStyleValue 2025-08-08 15:19:03 +01:00
SyntaxParsing.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
Token.cpp LibWeb/CSS: Construct all CSS Tokens in a consistent way 2025-07-09 15:04:57 +01:00
Token.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
Tokenizer.cpp LibWeb/CSS: Stop converting at-rule names to lowercase 2025-07-09 15:04:57 +01:00
Tokenizer.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
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/CSS: Add a Property -> CalculationContext factory method 2025-10-13 09:59:38 +01:00