mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 07:09:41 +00:00
LibWeb: Consider every row when calculating table width
This commit is contained in:
parent
c67ecf37f7
commit
d1b967bca5
Notes:
github-actions[bot]
2024-11-05 10:59:07 +00:00
Author: https://github.com/Gingeh
Commit: d1b967bca5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2171
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 88 additions and 15 deletions
|
@ -43,7 +43,7 @@ TableGrid TableGrid::calculate_row_column_grid(Box const& box, Vector<Cell>& cel
|
|||
rowspan = node.row_span();
|
||||
}
|
||||
|
||||
if (x_width < x_current + colspan && y_current == 0)
|
||||
if (x_width < x_current + colspan)
|
||||
x_width = x_current + colspan;
|
||||
if (y_height < y_current + rowspan)
|
||||
y_height = y_current + rowspan;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue