summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksandr Kalenik <kalenik.aliaksandr@gmail.com>2022-12-09 12:44:38 +0300
committerAndreas Kling <kling@serenityos.org>2022-12-09 12:53:05 +0100
commitc302c4081b937ee696b12684fe0723a34d0589c8 (patch)
tree2339faf6b1e6a65854560ae3abc17123c647a45d
parentb8f1e1bed2a77aadfb7b23a37ff4e3015a68dc23 (diff)
downloadserenity-c302c4081b937ee696b12684fe0723a34d0589c8.zip
LibWeb: Layout table rows that do not belong to table row group
-rw-r--r--Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp
index 0baf1444a4..1b19fc0a8f 100644
--- a/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp
+++ b/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp
@@ -93,6 +93,11 @@ void TableFormattingContext::calculate_row_column_grid(Box const& box)
});
});
+ box.template for_each_child_of_type<TableRowBox>([&](auto& row) {
+ process_row(row);
+ return IterationDecision::Continue;
+ });
+
m_columns.resize(x_width);
}