mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 6994ea5885
			
		
	
	
		6994ea5885
		
	
	
	
	
		
			
			Out-of-flow boxes (floating and absolutely-positioned elements) were previously collected and put in the anonymous block wrapper as well, but this actually made hit testing not able to find them, since they were breaking expectations about tree structure that hit testing relies on. After this change, we simply let out-of-flow boxes stay in their original parent, preserving the author's intended box tree structure.
		
			
				
	
	
		
			1 line
		
	
	
	
		
			10 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			1 line
		
	
	
	
		
			10 B
		
	
	
	
		
			Text
		
	
	
	
	
	
|      true
 |