LibWeb: Implement CSS abs()

This commit is contained in:
stelar7 2023-05-27 22:56:41 +02:00 committed by Sam Atkins
commit 79fc4c8a82
Notes: sideshowbarker 2024-07-16 20:05:14 +09:00
4 changed files with 118 additions and 0 deletions

View file

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