浏览代码

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

Aliaksandr Kalenik 2 年之前
父节点
当前提交
c302c4081b
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp

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