mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:42:45 +00:00 
			
		
		
		
	LibWeb: Move replaced element layout out of Layout::ReplacedBox
Replaced elements are now laid out by the current formatting context. Since the logic is almost identical in BFC and IFC, it's implemented by static helpers in FormattingContext.
This commit is contained in:
		
							parent
							
								
									e8d6691470
								
							
						
					
					
						commit
						67732df034
					
				
					 7 changed files with 102 additions and 91 deletions
				
			
		|  | @ -54,6 +54,9 @@ private: | |||
|     void compute_width_for_absolutely_positioned_block(Box&); | ||||
|     void compute_width_for_floating_box(Box&); | ||||
| 
 | ||||
|     void compute_width_for_block_level_replaced_element_in_normal_flow(ReplacedBox&); | ||||
|     void compute_height_for_block_level_replaced_element_in_normal_flow(ReplacedBox&); | ||||
| 
 | ||||
|     void layout_initial_containing_block(LayoutMode); | ||||
| 
 | ||||
|     void layout_block_level_children(Box&, LayoutMode); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling