mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37: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
|
@ -222,7 +222,7 @@ void PaintableBox::paint(PaintContext& context, PaintPhase phase) const
|
|||
|
||||
void PaintableBox::paint_border(PaintContext& context) const
|
||||
{
|
||||
auto borders_data = BordersData {
|
||||
auto borders_data = m_override_borders_data.has_value() ? m_override_borders_data.value() : BordersData {
|
||||
.top = box_model().border.top == 0 ? CSS::BorderData() : computed_values().border_top(),
|
||||
.right = box_model().border.right == 0 ? CSS::BorderData() : computed_values().border_right(),
|
||||
.bottom = box_model().border.bottom == 0 ? CSS::BorderData() : computed_values().border_bottom(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue