mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:12:45 +00:00 
			
		
		
		
	 e464d484c4
			
		
	
	
		e464d484c4
		
	
	
	
	
		
			
			This fixes the issue that occurred when, after clicking an inline paintable page would always scroll to the top. The problem was that `scroll_an_element_into_view()` relies on `get_bounding_client_rect()` to produce the correct scroll position and for inline paintables we were always returning zero rect before this change.
		
			
				
	
	
		
			2 lines
		
	
	
		
			No EOL
		
	
	
		
			202 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			2 lines
		
	
	
		
			No EOL
		
	
	
		
			202 B
		
	
	
	
		
			Text
		
	
	
	
	
	
|  inline   {"x":8,"y":500,"width":784,"height":150,"top":500,"right":792,"bottom":650,"left":8}
 | |
| {"x":8,"y":650,"width":41.296875,"height":17.46875,"top":650,"right":49.296875,"bottom":667.46875,"left":8} |