mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibWeb: Unify placement of replaced and non-replaced elements in BFC
Seems like we can share the code for these.
This commit is contained in:
parent
9a48368280
commit
bb6af641d4
2 changed files with 5 additions and 22 deletions
|
@ -50,9 +50,7 @@ private:
|
|||
void layout_inline_children(BlockContainer&, LayoutMode);
|
||||
|
||||
void compute_vertical_box_model_metrics(Box& child_box, BlockContainer const& containing_block);
|
||||
|
||||
void place_block_level_replaced_element_in_normal_flow(Box& child, BlockContainer const&);
|
||||
void place_block_level_non_replaced_element_in_normal_flow(Box& float_side, BlockContainer const&);
|
||||
void place_block_level_element_in_normal_flow(Box& child_box, BlockContainer const&);
|
||||
|
||||
void layout_floating_child(Box& child, BlockContainer const& containing_block);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue