mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:32:46 +00:00 
			
		
		
		
	 ff02de4ad0
			
		
	
	
		ff02de4ad0
		
	
	
	
	
		
			
			In order to access the string's contents, use the new `StringStyleValue::string_value()` method. I think I found all the existing places that relied on `StringStyleValue::to_string()` returning an unquoted string, but it's hard to know for sure until things break.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			203 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			203 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <script src="../include.js"></script>
 | |
| <script>
 | |
|     test(() => {
 | |
|         const e = document.createElement("div");
 | |
|         e.style.content = '"wheeee"';
 | |
|         println(e.style.content);
 | |
|     });
 | |
| </script>
 |