mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibWeb: Take rowspan into account while table formatting
This commit is contained in:
parent
1c6783cd7e
commit
dbf76e8ae1
3 changed files with 9 additions and 1 deletions
|
@ -66,7 +66,7 @@ void TableFormattingContext::calculate_row_column_grid(Box const& box)
|
|||
x_width++;
|
||||
|
||||
const size_t colspan = static_cast<TableCellBox*>(child)->colspan();
|
||||
const size_t rowspan = 1;
|
||||
const size_t rowspan = static_cast<TableCellBox*>(child)->rowspan();
|
||||
|
||||
if (x_width < x_current + colspan)
|
||||
x_width = x_current + colspan;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue