mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
LibWeb: Remove unnecessary static formatting context functions
At one point in the past, we had some functions that were called across different formatting context types, which necessitated making them static and taking the LayoutState as a parameter. In all cases, those functions were used to do incorrect hacks, all of which we've replaced with more correct solutions. :^)
This commit is contained in:
parent
421559d725
commit
4f08fcde29
5 changed files with 48 additions and 64 deletions
|
@ -66,7 +66,7 @@ private:
|
|||
void layout_block_level_children(BlockContainer const&, LayoutMode, AvailableSpace const&);
|
||||
void layout_inline_children(BlockContainer const&, LayoutMode, AvailableSpace const&);
|
||||
|
||||
static void resolve_vertical_box_model_metrics(Box const& box, LayoutState&);
|
||||
void resolve_vertical_box_model_metrics(Box const&);
|
||||
void place_block_level_element_in_normal_flow_horizontally(Box const& child_box, AvailableSpace const&);
|
||||
void place_block_level_element_in_normal_flow_vertically(Box const&, CSSPixels y);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue