mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-23 02:31:55 +00:00
The `transform` property supports transform functions that sometimes need their `calc(percentage)` values to be converted to a number instead of a length. Currently this only applies to the `scale*` family of functions, which are marked as such in `TransformFunctions.json`. We were not consistently applying the `NumberPercentage` type to these functions though, and in addition, any `NumberPercentage` value would not consider calculated values. |
||
---|---|---|
.. | ||
ComponentValue.cpp | ||
ComponentValue.h | ||
Dimension.h | ||
GradientParsing.cpp | ||
Helpers.cpp | ||
MediaParsing.cpp | ||
Parser.cpp | ||
Parser.h | ||
PropertyParsing.cpp | ||
RuleParsing.cpp | ||
SelectorParsing.cpp | ||
Token.cpp | ||
Token.h | ||
Tokenizer.cpp | ||
Tokenizer.h | ||
TokenStream.h | ||
Types.cpp | ||
Types.h | ||
ValueParsing.cpp |