1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 05:17:34 +00:00

LibWeb: Rename FormattingContext::compute_position() => compute_inset()

This function computes the used inset properties, not the position of a
box per se, so let's call it something more accurate.
This commit is contained in:
Andreas Kling 2022-03-27 15:35:28 +02:00
parent c49c036c84
commit d77dfc6b48
3 changed files with 3 additions and 3 deletions

View file

@ -391,7 +391,7 @@ void BlockFormattingContext::layout_block_level_children(BlockContainer const& b
compute_height(child_box, m_state);
compute_position(child_box);
compute_inset(child_box);
if (is<ReplacedBox>(child_box) || is<BlockContainer>(child_box))
place_block_level_element_in_normal_flow_horizontally(child_box, block_container);