mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 13:20:59 +00:00 
			
		
		
		
	 08cf35cf9a
			
		
	
	
		08cf35cf9a
		
	
	
	
	
		
			
			The `item(unsigned long index)` method is marked as a getter in IDL, so let's treat it as such.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			749 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			749 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| // https://drafts.csswg.org/cssom/#cssstyledeclaration
 | |
| [Exposed=Window]
 | |
| interface CSSStyleDeclaration {
 | |
| 
 | |
|     [CEReactions] attribute CSSOMString cssText;
 | |
| 
 | |
|     readonly attribute unsigned long length;
 | |
|     getter CSSOMString item(unsigned long index);
 | |
| 
 | |
|     CSSOMString getPropertyValue(CSSOMString property);
 | |
|     CSSOMString getPropertyPriority(CSSOMString property);
 | |
| 
 | |
|     [CEReactions] undefined setProperty(CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, optional [LegacyNullToEmptyString] CSSOMString priority = "");
 | |
|     [CEReactions] CSSOMString removeProperty(CSSOMString property);
 | |
| 
 | |
|     // FIXME: readonly attribute CSSRule? parentRule;
 | |
|     // FIXME: [CEReactions] attribute [LegacyNullToEmptyString] CSSOMString cssFloat;
 | |
| };
 |