mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:32:46 +00:00 
			
		
		
		
	LibWeb: Don't relayout whenever a CSS transform changes
Transforms are a paint-level concept for us, so we should be okay to only update the stacking context tree and repaint. This makes a lot of CSS animations use way less CPU.
This commit is contained in:
		
							parent
							
								
									9a90bf7d12
								
							
						
					
					
						commit
						9caa0bda7d
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1978,6 +1978,7 @@ | |||
|   "transform": { | ||||
|     "inherited": false, | ||||
|     "initial": "none", | ||||
|     "affects-layout": false, | ||||
|     "affects-stacking-context": true | ||||
|   }, | ||||
|   "transform-origin": { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling