mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-21 09:41:53 +00:00
If a calculation was simplified down to a single numeric node, then most of the time we can instead return a regular StyleValue, for example `calc(2px + 3px)` would be simplified down to a `5px` LengthStyleValue. This means that parse_calculated_value() can't return a CalculatedStyleValue directly, and its callers all have to handle non-calculated values as well as calculated ones. This simplification is reflected in the new test results. Serialization is not yet correct in all cases but we're closer than we were. :^) |
||
---|---|---|
.. | ||
ComponentValue.cpp | ||
ComponentValue.h | ||
Dimension.h | ||
GradientParsing.cpp | ||
Helpers.cpp | ||
MediaParsing.cpp | ||
Parser.cpp | ||
Parser.h | ||
ParsingContext.cpp | ||
ParsingContext.h | ||
RuleParsing.cpp | ||
SelectorParsing.cpp | ||
Token.cpp | ||
Token.h | ||
Tokenizer.cpp | ||
Tokenizer.h | ||
TokenStream.h | ||
Types.cpp | ||
Types.h |