LibWeb/CSS: Split out @supports parsing code

This commit is contained in:
Sam Atkins 2024-08-09 12:47:24 +01:00 committed by Andreas Kling
commit e5737232c0
Notes: github-actions[bot] 2024-08-10 08:39:06 +00:00
2 changed files with 43 additions and 24 deletions

View file

@ -224,6 +224,7 @@ private:
CSSMediaRule* convert_to_media_rule(NonnullRefPtr<Rule>);
JS::GCPtr<CSSImportRule> convert_to_import_rule(Rule&);
JS::GCPtr<CSSNamespaceRule> convert_to_namespace_rule(Rule&);
JS::GCPtr<CSSSupportsRule> convert_to_supports_rule(Rule&);
PropertyOwningCSSStyleDeclaration* convert_to_style_declaration(Vector<DeclarationOrAtRule> const& declarations);
Optional<StyleProperty> convert_to_style_property(Declaration const&);