LibWeb: Parse dimension values using TokenStream

This commit is contained in:
Sam Atkins 2024-04-21 19:08:47 +01:00 committed by Andreas Kling
commit 59c79e848c
Notes: sideshowbarker 2024-07-17 04:03:27 +09:00
2 changed files with 14 additions and 8 deletions

View file

@ -219,7 +219,7 @@ private:
// NOTE: Implemented in generated code. (GenerateCSSMathFunctions.cpp)
OwnPtr<CalculationNode> parse_math_function(PropertyID, Function const&);
OwnPtr<CalculationNode> parse_a_calc_function_node(Function const&);
RefPtr<StyleValue> parse_dimension_value(ComponentValue const&);
RefPtr<StyleValue> parse_dimension_value(TokenStream<ComponentValue>&);
RefPtr<StyleValue> parse_integer_value(TokenStream<ComponentValue>&);
RefPtr<StyleValue> parse_number_value(TokenStream<ComponentValue>&);
RefPtr<StyleValue> parse_number_or_percentage_value(TokenStream<ComponentValue>&);