mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:37:45 +00:00
LibWeb: Store table cell indices and spans in PaintableBox
The adjacency information is required to position borders correctly between columns and rows.
This commit is contained in:
parent
98c5efc385
commit
f6d2a21d27
4 changed files with 25 additions and 1 deletions
|
@ -125,6 +125,9 @@ void LayoutState::commit()
|
|||
if (used_values.override_borders_data().has_value()) {
|
||||
paintable_box.set_override_borders_data(used_values.override_borders_data().value());
|
||||
}
|
||||
if (used_values.table_cell_coordinates().has_value()) {
|
||||
paintable_box.set_table_cell_coordinates(used_values.table_cell_coordinates().value());
|
||||
}
|
||||
|
||||
if (is<Layout::BlockContainer>(box)) {
|
||||
for (auto& line_box : used_values.line_boxes) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue