From 89d0cb0ce285c5b59eab64ed95a7a9f16e725f27 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 21 Feb 2022 18:05:10 +0100 Subject: [PATCH] LibWeb: Compute table cell height after doing its inside layout --- Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp index 4fc369adc1..cc82f66fe8 100644 --- a/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp +++ b/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp @@ -112,6 +112,8 @@ void TableFormattingContext::layout_row(Box const& row, Vector& column_wi (void)layout_inside(cell, LayoutMode::Default); } + BlockFormattingContext::compute_height(cell, m_state); + size_t cell_colspan = cell.colspan(); for (size_t i = 0; i < cell_colspan; ++i) content_width += column_widths[column_index++];