ladybird/Libraries/LibWeb/CSS/Parser
Andreas Kling 038d8ade50
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
LibWeb: Always parse calc() inside CSS color functions consistently
Before this change, calc() would resolve to different types depending on
the nearest containing value context. This meant that rgb(calc(), ...)
by itself worked correctly due to fallbacks, but rgb(calc(), ...) inside
e.g a linear-gradient would create a calc() value that resolves to a
length, which subsequently got rejected by the color value parser.

Fixing this makes various little gradients show up on Discord.
2025-07-22 08:47:22 +01:00
..
ArbitrarySubstitutionFunctions.cpp LibWeb/CSS: Implement type(<syntax>) in attr() 2025-07-16 14:47:45 +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: Make UnresolvedStyleValue figure out if it contains ASFs 2025-07-16 14:47:45 +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: Don't crash when an unknown property begins with a single dash 2025-07-20 08:54:53 +02:00
Parser.h LibWeb/CSS: Implement "parse with a <syntax>" 2025-07-16 14:47:45 +01:00
PropertyParsing.cpp LibWeb/CSS: Support text-justify: distribute legacy value alias 2025-07-21 10:04:42 +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/CSS: Parse the ::slotted pseudo-element 2025-07-15 13:54:17 +01:00
Syntax.cpp LibWeb/CSS: Implement "parse with a <syntax>" 2025-07-16 14:47:45 +01:00
Syntax.h LibWeb/CSS: Implement "parse with a <syntax>" 2025-07-16 14:47:45 +01:00
SyntaxParsing.cpp LibWeb/CSS: Implement "parse with a <syntax>" 2025-07-16 14:47:45 +01:00
SyntaxParsing.h LibWeb/CSS: Implement "parse with a <syntax>" 2025-07-16 14:47:45 +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: Always parse calc() inside CSS color functions consistently 2025-07-22 08:47:22 +01:00