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

LibWeb: Implement CSS sqrt()

This commit is contained in:
stelar7 2023-05-28 11:31:50 +02:00 committed by Sam Atkins
parent 9aed8ec7f0
commit 0d30fb5a6e
4 changed files with 92 additions and 0 deletions

View file

@ -303,6 +303,7 @@ private:
ErrorOr<OwnPtr<CalculationNode>> parse_atan_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_atan2_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_pow_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_sqrt_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>&);