LibWeb/CSS: Split out @import parsing and convert it to TokenStream

This commit is contained in:
Sam Atkins 2024-08-09 13:38:15 +01:00 committed by Andreas Kling
commit 16049db560
Notes: github-actions[bot] 2024-08-10 08:39:16 +00:00
2 changed files with 53 additions and 20 deletions

View file

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