1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:37:35 +00:00

LibWeb: Add CSSStyleSheet.{insert,delete,remove}Rule() APIs

Note that insertRule() is really just a big TODO right now.
This commit is contained in:
Andreas Kling 2021-09-29 20:28:32 +02:00
parent 3a4565beec
commit 30d710a0a2
5 changed files with 73 additions and 2 deletions

View file

@ -47,6 +47,8 @@ public:
bool is_supported_property_index(u32 index) const;
DOM::ExceptionOr<void> remove_a_css_rule(u32 index);
private:
explicit CSSRuleList(NonnullRefPtrVector<CSSRule>&&);