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

LibWeb: Implement CSS round()

This commit is contained in:
stelar7 2023-05-27 16:07:50 +02:00 committed by Sam Atkins
parent ec0054da06
commit b2230c826b
4 changed files with 210 additions and 0 deletions

View file

@ -307,6 +307,7 @@ private:
ErrorOr<OwnPtr<CalculationNode>> parse_hypot_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_log_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_exp_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_round_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>&);