1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:18:12 +00:00

LibWeb: Implement most of CSSStyleRule.insertRule()

This commit is contained in:
Andreas Kling 2021-09-29 21:12:39 +02:00
parent f53d0ddba2
commit 994e33b0f7
5 changed files with 42 additions and 8 deletions

View file

@ -235,6 +235,7 @@ RefPtr<CSS::CSSStyleSheet> parse_css(CSS::ParsingContext const&, StringView cons
RefPtr<CSS::PropertyOwningCSSStyleDeclaration> parse_css_declaration(CSS::ParsingContext const&, StringView const&);
RefPtr<CSS::StyleValue> parse_css_value(CSS::ParsingContext const&, StringView const&, CSS::PropertyID property_id = CSS::PropertyID::Invalid);
Optional<CSS::SelectorList> parse_selector(CSS::ParsingContext const&, StringView const&);
RefPtr<CSS::CSSRule> parse_css_rule(CSS::ParsingContext const&, StringView);
RefPtr<CSS::StyleValue> parse_html_length(DOM::Document const&, StringView const&);