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

LibWeb: Implement CSS hypot()

This commit is contained in:
stelar7 2023-05-28 11:43:04 +02:00 committed by Sam Atkins
parent 0d30fb5a6e
commit fa37bb8b76
4 changed files with 145 additions and 0 deletions

View file

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