mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:07:46 +00:00
LibWeb: Compute table cell height after doing its inside layout
This commit is contained in:
parent
db5bf6e64c
commit
89d0cb0ce2
1 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,8 @@ void TableFormattingContext::layout_row(Box const& row, Vector<float>& column_wi
|
||||||
(void)layout_inside(cell, LayoutMode::Default);
|
(void)layout_inside(cell, LayoutMode::Default);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BlockFormattingContext::compute_height(cell, m_state);
|
||||||
|
|
||||||
size_t cell_colspan = cell.colspan();
|
size_t cell_colspan = cell.colspan();
|
||||||
for (size_t i = 0; i < cell_colspan; ++i)
|
for (size_t i = 0; i < cell_colspan; ++i)
|
||||||
content_width += column_widths[column_index++];
|
content_width += column_widths[column_index++];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue