1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:18:12 +00:00

LibWeb: Implement CSS abs()

This commit is contained in:
stelar7 2023-05-27 22:56:41 +02:00 committed by Sam Atkins
parent 85f822381f
commit 79fc4c8a82
4 changed files with 118 additions and 0 deletions

View file

@ -293,6 +293,7 @@ private:
ErrorOr<OwnPtr<CalculationNode>> parse_min_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_max_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_clamp_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_abs_function(Function const&);
ErrorOr<RefPtr<StyleValue>> parse_dimension_value(ComponentValue const&);
ErrorOr<RefPtr<StyleValue>> parse_integer_value(TokenStream<ComponentValue>&);
ErrorOr<RefPtr<StyleValue>> parse_number_value(TokenStream<ComponentValue>&);