1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00

LibWeb: Implement CSS sign()

This commit is contained in:
stelar7 2023-05-27 23:02:39 +02:00 committed by Sam Atkins
parent 79fc4c8a82
commit e1e382152c
4 changed files with 93 additions and 0 deletions

View file

@ -294,6 +294,7 @@ private:
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<OwnPtr<CalculationNode>> parse_sign_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>&);