mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 01:22:43 +00:00 
			
		
		
		
	 a9830d9a55
			
		
	
	
		a9830d9a55
		
	
	
	
	
		
			
			This patch adds bindings for the following objects: - StyleSheet - StyleSheetList - CSSStyleSheet You can get to a document's style sheets via Document.styleSheets and iterate through them using StyleSheetList's item() and length(). That's it in terms of functionality at this point, but still neat. :^)
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			170 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			170 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| interface StyleSheetList {
 | |
|     // FIXME: item() should be a WebIDL "getter"
 | |
|     CSSStyleSheet? item(unsigned long index);
 | |
|     readonly attribute unsigned long length;
 | |
| };
 |