1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +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

@ -48,6 +48,7 @@ public:
bool is_supported_property_index(u32 index) const;
DOM::ExceptionOr<void> remove_a_css_rule(u32 index);
DOM::ExceptionOr<unsigned> insert_a_css_rule(NonnullRefPtr<CSSRule>, u32 index);
private:
explicit CSSRuleList(NonnullRefPtrVector<CSSRule>&&);