LibWeb: Parse min() css math function

This commit is contained in:
stelar7 2023-05-26 11:21:49 +02:00 committed by Andreas Kling
commit 6a10821bfd
Notes: sideshowbarker 2024-07-17 07:20:49 +09:00
4 changed files with 155 additions and 2 deletions

View file

@ -290,6 +290,7 @@ private:
ErrorOr<RefPtr<StyleValue>> parse_dynamic_value(ComponentValue const&);
ErrorOr<RefPtr<CalculatedStyleValue>> parse_calculated_value(Vector<ComponentValue> const&);
ErrorOr<OwnPtr<CalculationNode>> parse_a_calc_function_node(Function const&);
ErrorOr<OwnPtr<CalculationNode>> parse_min_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>&);