mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
LibWeb: Make IFC aware that its parent is always a BFC
This simplifies some code and allows us to use tighter types for the parent context everywhere.
This commit is contained in:
parent
83a6e698a0
commit
00bd17034d
5 changed files with 21 additions and 11 deletions
|
@ -384,7 +384,7 @@ void BlockFormattingContext::compute_position(Box& box)
|
|||
|
||||
void BlockFormattingContext::layout_inline_children(BlockContainer& block_container, LayoutMode layout_mode)
|
||||
{
|
||||
InlineFormattingContext context(block_container, this);
|
||||
InlineFormattingContext context(block_container, *this);
|
||||
context.run(block_container, layout_mode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue