LibWeb/CSS: Parse builtin values using TokenStream

This commit is contained in:
Sam Atkins 2024-08-09 11:38:00 +01:00 committed by Andreas Kling
commit b9b2fd62b5
Notes: github-actions[bot] 2024-08-10 08:39:21 +00:00
2 changed files with 20 additions and 9 deletions

View file

@ -278,7 +278,7 @@ private:
RefPtr<StyleValue> style_value;
};
Optional<PropertyAndValue> parse_css_value_for_properties(ReadonlySpan<PropertyID>, TokenStream<ComponentValue>&);
RefPtr<StyleValue> parse_builtin_value(ComponentValue const&);
RefPtr<StyleValue> parse_builtin_value(TokenStream<ComponentValue>&);
RefPtr<CalculatedStyleValue> parse_calculated_value(ComponentValue const&);
RefPtr<CustomIdentStyleValue> parse_custom_ident_value(TokenStream<ComponentValue>&, std::initializer_list<StringView> blacklist);
// NOTE: Implemented in generated code. (GenerateCSSMathFunctions.cpp)