From c660df70b44036f38b451083e13a11d2303dd68d Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Mon, 4 Aug 2025 17:28:01 +0100 Subject: [PATCH] LibWeb/Painting: Note that `inset` and `outset` borders are implemented --- Libraries/LibWeb/Painting/BorderPainting.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Libraries/LibWeb/Painting/BorderPainting.cpp b/Libraries/LibWeb/Painting/BorderPainting.cpp index 9c6a3c0170a..ba75b175a0a 100644 --- a/Libraries/LibWeb/Painting/BorderPainting.cpp +++ b/Libraries/LibWeb/Painting/BorderPainting.cpp @@ -94,13 +94,14 @@ void paint_border(DisplayListRecorder& painter, BorderEdge edge, DevicePixelRect gfx_line_style = Gfx::LineStyle::Dashed; break; 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; break; case CSS::LineStyle::Double: case CSS::LineStyle::Groove: case CSS::LineStyle::Ridge: - case CSS::LineStyle::Inset: - case CSS::LineStyle::Outset: // FIXME: Implement these break; }