LibWeb/CSS: Pull out Supports::Declaration parsing

Avoid repeating this in two places.
This commit is contained in:
Sam Atkins 2025-12-01 12:54:40 +00:00
parent 4ed1c56267
commit faba11f33c
Notes: github-actions[bot] 2025-12-02 09:51:11 +00:00
3 changed files with 22 additions and 11 deletions

View file

@ -564,6 +564,7 @@ private:
OwnPtr<BooleanExpression> parse_boolean_expression_group(TokenStream<ComponentValue>&, MatchResult result_for_general_enclosed, ParseTest parse_test);
OwnPtr<BooleanExpression> parse_supports_feature(TokenStream<ComponentValue>&);
OwnPtr<Supports::Declaration> parse_supports_declaration(TokenStream<ComponentValue>&);
NonnullRefPtr<StyleValue const> resolve_unresolved_style_value(DOM::AbstractElement, GuardedSubstitutionContexts&, PropertyNameAndID const&, UnresolvedStyleValue const&);