mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
LibWeb: Add partial implementation of border conflict resolution
Fix handling of border style specified per column as well.
This commit is contained in:
parent
6c2712764d
commit
8090adf268
9 changed files with 282 additions and 16 deletions
|
@ -122,6 +122,9 @@ void LayoutState::commit()
|
|||
paintable_box.set_offset(used_values.offset);
|
||||
paintable_box.set_content_size(used_values.content_width(), used_values.content_height());
|
||||
paintable_box.set_containing_line_box_fragment(used_values.containing_line_box_fragment);
|
||||
if (used_values.override_borders_data().has_value()) {
|
||||
paintable_box.set_override_borders_data(used_values.override_borders_data().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