mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 04:22:45 +00:00 
			
		
		
		
	 508927cae2
			
		
	
	
		508927cae2
		
	
	
	
	
		
			
			When there are floats present inside an IFC, we must coordinate with the parent BFC to calculate the automatic width of the IFC's block box. This is because the IFC is not directly aware of floats. Only the BFC knows enough about them to account for them in automatic sizing.
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			448 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			448 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (0,0) content-size 800x0 [BFC] children: not-inline
 | |
|     BlockContainer <body> at (8,8) content-size 140x100 positioned [BFC] children: not-inline
 | |
|       BlockContainer <div.black> at (58,58) content-size 40x0 children: inline
 | |
|         BlockContainer <div.green> at (78,78) content-size 0x0 floating [BFC] children: not-inline
 | |
|         TextNode <#text>
 |