diff --git a/Userland/Libraries/LibWeb/Painting/PaintableBox.cpp b/Userland/Libraries/LibWeb/Painting/PaintableBox.cpp index bbdf0741cc..a9fa62db31 100644 --- a/Userland/Libraries/LibWeb/Painting/PaintableBox.cpp +++ b/Userland/Libraries/LibWeb/Painting/PaintableBox.cpp @@ -361,7 +361,7 @@ void PaintableBox::apply_clip_overflow_rect(PaintContext& context, PaintPhase ph if (!m_clipping_overflow) { context.painter().save(); - context.painter().add_clip_rect(context.rounded_device_rect(*clip_rect).to_type()); + context.painter().add_clip_rect(context.enclosing_device_rect(*clip_rect).to_type()); m_clipping_overflow = true; }