Browse Source

LibWeb: Remove unused variable in FormattingContext

Andreas Kling 2 years ago
parent
commit
7eb9e730e0
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Userland/Libraries/LibWeb/Layout/FormattingContext.cpp

+ 0 - 2
Userland/Libraries/LibWeb/Layout/FormattingContext.cpp

@@ -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 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 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);
     compute_width_for_absolutely_positioned_element(box, available_space);
 
 
     // NOTE: We compute height before *and* after doing inside layout.
     // NOTE: We compute height before *and* after doing inside layout.