Index: Source/core/rendering/RenderBoxModelObject.cpp |
diff --git a/Source/core/rendering/RenderBoxModelObject.cpp b/Source/core/rendering/RenderBoxModelObject.cpp |
index 53d7164c9254ad60cea76dd2d87510bba9da9e01..3e147e4ea6b3eb7d438dc7de572234828bbbdf1e 100644 |
--- a/Source/core/rendering/RenderBoxModelObject.cpp |
+++ b/Source/core/rendering/RenderBoxModelObject.cpp |
@@ -1728,6 +1728,9 @@ void RenderBoxModelObject::paintBorder(const PaintInfo& info, const LayoutRect& |
RoundedRect outerBorder = style->getRoundedBorderFor(rect, includeLogicalLeftEdge, includeLogicalRightEdge); |
RoundedRect innerBorder = style->getRoundedInnerBorderFor(borderInnerRectAdjustedForBleedAvoidance(graphicsContext, rect, bleedAvoidance), includeLogicalLeftEdge, includeLogicalRightEdge); |
+ if (outerBorder.rect().isEmpty()) |
+ return; |
+ |
bool haveAlphaColor = false; |
bool haveAllSolidEdges = true; |
bool haveAllDoubleEdges = true; |