ladybird/Libraries/LibWeb/CSS/Parser
Tim Ledbetter 78b6032940 LibWeb: Validate operator count when parsing a calculation
Previously, we would allow calc values such as `calc(min(1 2))`, which
would be simplified to `calc(3)` because we assumed that numbers not
separated by an operator represented a sum. We now validate that the
number of operators we see is as we would expect before collecting
these values into a sum node.
2025-07-02 10:12:58 +01:00
..
ComponentValue.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ComponentValue.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
DescriptorParsing.cpp LibWeb/CSS: Parse @page bleed, marks, page-orientation descriptors 2025-05-15 09:53:29 +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: Set grid-auto-* to initial values when parsing grid-template 2025-06-24 19:14:08 +02:00
PropertyParsing.cpp LibWeb: Don't crash with invalid transform-origin values 2025-07-01 14:19:10 +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 Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Token.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Tokenizer.cpp LibWeb: Prefer using equals_ignoring_ascii_case 2025-05-21 13:45:02 +01:00
Tokenizer.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06: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: Allow anonymous layer block rule with no declarations 2025-06-17 08:58:00 +01:00
ValueParsing.cpp LibWeb: Validate operator count when parsing a calculation 2025-07-02 10:12:58 +01:00