Browse Source

LibWeb: Compute table cell height after doing its inside layout

Andreas Kling 3 years ago
parent
commit
89d0cb0ce2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp

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

@@ -112,6 +112,8 @@ void TableFormattingContext::layout_row(Box const& row, Vector<float>& 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++];