1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:27:45 +00:00

LibWeb: Add CSSGroupingRule wrapper

This commit is contained in:
Sam Atkins 2022-04-22 14:13:37 +01:00 committed by Andreas Kling
parent bc4c185aef
commit cfe5d63a1e
5 changed files with 13 additions and 3 deletions

View file

@ -1,8 +1,9 @@
#import <CSS/CSSRule.idl>
#import <CSS/CSSRuleList.idl>
[Exposed=Window]
interface CSSGroupingRule : CSSRule {
[SameObject] readonly attribute CSSRuleList cssRules;
[SameObject, ImplementedAs=css_rules_for_bindings] readonly attribute CSSRuleList cssRules;
unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
undefined deleteRule(unsigned long index);
};