mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:12:43 +00:00 
			
		
		
		
	LibWeb: Implement CSSStyleDeclaration.cssText
This commit is contained in:
		
							parent
							
								
									8066a67da2
								
							
						
					
					
						commit
						c247fefee7
					
				
					 5 changed files with 65 additions and 7 deletions
				
			
		|  | @ -570,4 +570,11 @@ String ResolvedCSSStyleDeclaration::serialized() const | |||
|     return String::empty(); | ||||
| } | ||||
| 
 | ||||
| // https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-csstext
 | ||||
| WebIDL::ExceptionOr<void> ResolvedCSSStyleDeclaration::set_css_text(StringView) | ||||
| { | ||||
|     // 1. If the computed flag is set, then throw a NoModificationAllowedError exception.
 | ||||
|     return WebIDL::NoModificationAllowedError::create(realm(), "Cannot modify properties in result of getComputedStyle()"); | ||||
| } | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Luke Wilde
						Luke Wilde