diff options
author | Andreas Kling <kling@serenityos.org> | 2022-02-21 18:05:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-21 18:35:12 +0100 |
commit | 89d0cb0ce285c5b59eab64ed95a7a9f16e725f27 (patch) | |
tree | 5d5cc5d121abefba0438b669d354b3198f8bd26c /Userland/Libraries/LibWeb | |
parent | db5bf6e64c0371edd4118024cce37b8b99924e03 (diff) | |
download | serenity-89d0cb0ce285c5b59eab64ed95a7a9f16e725f27.zip |
LibWeb: Compute table cell height after doing its inside layout
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<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++]; |