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

LibWeb: Remove unused variable in FormattingContext

This commit is contained in:
Andreas Kling 2023-05-06 18:32:59 +02:00
parent 4699365a64
commit 7eb9e730e0

View file

@ -938,8 +938,6 @@ void FormattingContext::layout_absolutely_positioned_element(Box const& box, Ava
auto width_of_containing_block_as_length = CSS::Length::make_px(width_of_containing_block);
auto height_of_containing_block_as_length = CSS::Length::make_px(height_of_containing_block);
auto specified_width = box.computed_values().width().resolved(box, width_of_containing_block_as_length).resolved(box);
compute_width_for_absolutely_positioned_element(box, available_space);
// NOTE: We compute height before *and* after doing inside layout.