From a24deff21bd61b38a0be8cb3f50fcd37860846f6 Mon Sep 17 00:00:00 2001 From: Andi Gallo Date: Sat, 12 Aug 2023 09:25:08 +0000 Subject: [PATCH] LibWeb: Remove unused computed values for removed button flow-root --- Userland/Libraries/LibWeb/Layout/TreeBuilder.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Userland/Libraries/LibWeb/Layout/TreeBuilder.cpp b/Userland/Libraries/LibWeb/Layout/TreeBuilder.cpp index f4e27dec8aa..6ad877c5af1 100644 --- a/Userland/Libraries/LibWeb/Layout/TreeBuilder.cpp +++ b/Userland/Libraries/LibWeb/Layout/TreeBuilder.cpp @@ -389,10 +389,6 @@ ErrorOr TreeBuilder::create_layout_tree(DOM::Node& dom_node, TreeBuilder:: static_cast(cell_computed_values).set_vertical_align(CSS::VerticalAlign::Middle); static_cast(cell_computed_values).set_white_space(CSS::WhiteSpace::Nowrap); - auto flow_root_computed_values = CSS::ComputedValues(); - static_cast(flow_root_computed_values).set_width(CSS::Size::make_percentage(CSS::Percentage(100))); - static_cast(flow_root_computed_values).set_display(CSS::Display::from_short(CSS::Display::Short::InlineBlock)); - auto table_wrapper = parent.heap().template allocate_without_realm(parent.document(), nullptr, move(table_computed_values)); auto cell_wrapper = parent.heap().template allocate_without_realm(parent.document(), nullptr, move(cell_computed_values));