summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.idl
blob: b026c76c804212f6e815115c138706641361c753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#import <CSS/CSSRule.idl>
#import <CSS/CSSRuleList.idl>

// https://drafts.csswg.org/cssom/#cssstylesheet
[Exposed=Window]
interface CSSStyleSheet : StyleSheet {
    // readonly attribute CSSRule? ownerRule;
    [SameObject] readonly attribute CSSRuleList cssRules;
    unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
    undefined deleteRule(unsigned long index);
    undefined removeRule(unsigned long index);
};