mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:42:45 +00:00 
			
		
		
		
	 ff3e454565
			
		
	
	
		ff3e454565
		
	
	
	
	
		
			
			Before this change, `set_needs_to_resolve_paint_only_properties()` was only called after style invalidation. However, since relayout can be triggered independently from style invalidation, we need to ensure that paint-only properties are updated in that case too.
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			271 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			271 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <link rel="match" href="reference/resolve-paint-only-properties-after-layout-ref.html" />
 | |
| <style>
 | |
|     #box {
 | |
|         width: 100px;
 | |
|         height: 100px;
 | |
|         background-color: red;
 | |
|         border-radius: 50px;
 | |
|     }
 | |
| </style>
 | |
| <div id="box">hello</div>
 |