1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

LibWeb: Factor out BFC "layout this block-level box" to a function

This commit is contained in:
Andreas Kling 2022-07-09 20:14:13 +02:00
parent 64959a8504
commit 9784a567d2
2 changed files with 63 additions and 67 deletions

View file

@ -46,6 +46,8 @@ public:
void layout_floating_box(Box const& child, BlockContainer const& containing_block, LayoutMode, LineBuilder* = nullptr);
void layout_block_level_box(Box const&, BlockContainer const&, LayoutMode, float& content_height);
private:
virtual bool is_block_formatting_context() const final { return true; }