mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			445 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			445 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#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);
 | 
						|
};
 |