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

LibWeb: Rename Layout::Box absolute rect helpers

- padded_rect() -> absolute_padding_box_rect()
- bordered_rect() -> absolute_border_box_rect()
This commit is contained in:
Andreas Kling 2022-02-11 21:57:56 +01:00
parent 9a92236a24
commit 63345c4dfc
4 changed files with 12 additions and 12 deletions

View file

@ -544,7 +544,7 @@ void BlockFormattingContext::layout_initial_containing_block(LayoutMode layout_m
float bottom_edge = 0;
float right_edge = 0;
icb.for_each_in_subtree_of_type<Box>([&](Box& child) {
auto child_rect = child.bordered_rect();
auto child_rect = child.absolute_border_box_rect();
bottom_edge = max(bottom_edge, child_rect.bottom());
right_edge = max(right_edge, child_rect.right());
return IterationDecision::Continue;