1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

LibWeb: Compute table cell height after doing its inside layout

This commit is contained in:
Andreas Kling 2022-02-21 18:05:10 +01:00
parent db5bf6e64c
commit 89d0cb0ce2

View file

@ -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++];