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

LibWeb: Parse clamp() css math function

This commit is contained in:
stelar7 2023-05-26 15:40:39 +02:00 committed by Andreas Kling
parent eaee0ecd88
commit 2ef6aa5f3d
4 changed files with 145 additions and 0 deletions

View file

@ -292,6 +292,7 @@ private:
ErrorOr<OwnPtr<CalculationNode>> parse_a_calc_function_node(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_min_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_max_function(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_clamp_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>&);