mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 13:20:59 +00:00 
			
		
		
		
	 a28197669a
			
		
	
	
		a28197669a
		
	
	
	
	
		
			
			CSSStyleDeclaration is a base class that's used by various collections of style properties or descriptors. This commit moves all style-property-related code into CSSStyleProperties, where it belongs. As noted in the previous commit, we also apply the CSSStyleProperties prototype now.
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			652 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			652 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);
 | |
| 
 | |
|     readonly attribute CSSRule? parentRule;
 | |
| };
 |