mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
LibWeb: Remove unused computed values for removed button flow-root
This commit is contained in:
parent
0b2da4f8c6
commit
a24deff21b
Notes:
sideshowbarker
2024-07-17 21:11:12 +09:00
Author: https://github.com/axgallo Commit: https://github.com/SerenityOS/serenity/commit/a24deff21b Pull-request: https://github.com/SerenityOS/serenity/pull/20512
1 changed files with 0 additions and 4 deletions
|
@ -389,10 +389,6 @@ ErrorOr<void> TreeBuilder::create_layout_tree(DOM::Node& dom_node, TreeBuilder::
|
|||
static_cast<CSS::MutableComputedValues&>(cell_computed_values).set_vertical_align(CSS::VerticalAlign::Middle);
|
||||
static_cast<CSS::MutableComputedValues&>(cell_computed_values).set_white_space(CSS::WhiteSpace::Nowrap);
|
||||
|
||||
auto flow_root_computed_values = CSS::ComputedValues();
|
||||
static_cast<CSS::MutableComputedValues&>(flow_root_computed_values).set_width(CSS::Size::make_percentage(CSS::Percentage(100)));
|
||||
static_cast<CSS::MutableComputedValues&>(flow_root_computed_values).set_display(CSS::Display::from_short(CSS::Display::Short::InlineBlock));
|
||||
|
||||
auto table_wrapper = parent.heap().template allocate_without_realm<BlockContainer>(parent.document(), nullptr, move(table_computed_values));
|
||||
auto cell_wrapper = parent.heap().template allocate_without_realm<BlockContainer>(parent.document(), nullptr, move(cell_computed_values));
|
||||
|
||||
|
|
Loading…
Reference in a new issue