ladybird/Libraries/LibWeb/CSS/Parser
Andreas Kling 0553bcb35b
Some checks are pending
CI / Lagom (arm64, Sanitizer_CI, false, macos-15, macOS, Clang) (push) Waiting to run
CI / Lagom (x86_64, Fuzzers_CI, false, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, false, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, true, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (arm64, macos-15, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (x86_64, ubuntu-24.04, Linux, 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: Simplify standalone CSS math functions when used outside calc()
Math functions like abs(), clamp(), round(), etc, can be used by
themselves in property values, without wrapping them in calc().

Before this change, we were neglecting to run calc simplification on the
generated calculation node trees. By doing that manually after parsing a
standalone math function, we score at least a couple hundred WPT points.
2025-04-24 20:38:00 +02:00
..
ComponentValue.cpp
ComponentValue.h
DescriptorParsing.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06: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: Combine the CSSRuleList constructors 2025-04-23 10:55:45 +01:00
MediaParsing.cpp LibWeb/CSS: Combine the CSSRuleList constructors 2025-04-23 10:55:45 +01:00
Parser.cpp LibWeb/CSS: Use CSSRule's context to parse new child rules 2025-04-23 10:55:45 +01:00
Parser.h LibWeb: Allow multiple values for the transition-delay property 2025-04-23 21:02:59 +01:00
PropertyParsing.cpp LibWeb: Allow multiple values for the transition-duration property 2025-04-23 21:02:59 +01:00
RuleContext.cpp LibWeb/CSS: Move RuleContext type out of Parser.h 2025-04-23 10:55:45 +01:00
RuleContext.h LibWeb/CSS: Move RuleContext type out of Parser.h 2025-04-23 10:55:45 +01:00
RuleParsing.cpp LibWeb/CSS: Move RuleContext type out of Parser.h 2025-04-23 10:55:45 +01:00
SelectorParsing.cpp LibWeb: Implement functional pseudo-element parsing 2025-03-25 07:54:13 +00:00
Token.cpp
Token.h
Tokenizer.cpp LibWeb: Treat CSS at-rule names as case-insensitive 2025-03-10 12:42:57 +01:00
Tokenizer.h
TokenStream.h LibWeb/CSS: Make CSS Parser non-copyable/movable 2025-02-06 16:47:25 +00: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: Move functions for detecting var()/attr() into Token types 2025-03-28 09:15:02 +00:00
ValueParsing.cpp LibWeb: Simplify standalone CSS math functions when used outside calc() 2025-04-24 20:38:00 +02:00