ladybird/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.idl

13 lines
445 B
Text
Raw Normal View History

#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);
};