Browse Source

LibWeb: Layout table rows that do not belong to table row group

Aliaksandr Kalenik 2 năm trước cách đây
mục cha
commit
c302c4081b

+ 5 - 0
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);
 }