mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 13:18:19 +00:00
LibWeb/Painting: Note that inset
and outset
borders are implemented
This commit is contained in:
parent
7c2b8f6ee7
commit
c660df70b4
Notes:
github-actions[bot]
2025-08-11 10:08:36 +00:00
Author: https://github.com/AtkinsSJ
Commit: c660df70b4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5706
1 changed files with 3 additions and 2 deletions
|
@ -94,13 +94,14 @@ void paint_border(DisplayListRecorder& painter, BorderEdge edge, DevicePixelRect
|
||||||
gfx_line_style = Gfx::LineStyle::Dashed;
|
gfx_line_style = Gfx::LineStyle::Dashed;
|
||||||
break;
|
break;
|
||||||
case CSS::LineStyle::Solid:
|
case CSS::LineStyle::Solid:
|
||||||
|
case CSS::LineStyle::Inset:
|
||||||
|
case CSS::LineStyle::Outset:
|
||||||
|
// The only difference between Inset/Outset and Solid is the color, and we already handled that above.
|
||||||
gfx_line_style = Gfx::LineStyle::Solid;
|
gfx_line_style = Gfx::LineStyle::Solid;
|
||||||
break;
|
break;
|
||||||
case CSS::LineStyle::Double:
|
case CSS::LineStyle::Double:
|
||||||
case CSS::LineStyle::Groove:
|
case CSS::LineStyle::Groove:
|
||||||
case CSS::LineStyle::Ridge:
|
case CSS::LineStyle::Ridge:
|
||||||
case CSS::LineStyle::Inset:
|
|
||||||
case CSS::LineStyle::Outset:
|
|
||||||
// FIXME: Implement these
|
// FIXME: Implement these
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue