mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
LibWeb: Correctly calculate height of TableRowGroupBox
As well as correctly calculating the height of TableRowBox, this change calculates the heights of TableRowGroupBoxs also. As before, this does not correctly take into consideration the 'height' attribute. Now the horizontal layout is approximately correct for the TableRowGroupBoxs we can now see that the `layout_row` method will need updating to correctly calculate cell width across all rows, not just the current TableRowGroupBox.
This commit is contained in:
parent
ae02acb8e1
commit
b9c6059984
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ void TableFormattingContext::run(Box& box, LayoutMode)
|
|||
|
||||
row_group_box.set_height(content_height);
|
||||
|
||||
row_group_box.set_offset(0, total_content_height);
|
||||
total_content_height += content_height;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue