mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 04:50:29 +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
Notes:
sideshowbarker
2024-07-19 01:59:31 +09:00
Author: https://github.com/ant1441 Commit: https://github.com/SerenityOS/serenity/commit/b9c60599849 Pull-request: https://github.com/SerenityOS/serenity/pull/6464
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…
Reference in a new issue