1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:17:35 +00:00

LibWeb: Implement CSS sin()

This commit is contained in:
stelar7 2023-05-27 23:50:33 +02:00 committed by Sam Atkins
parent ba7af82c5c
commit c73f476915
6 changed files with 125 additions and 0 deletions

View file

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