Index: Source/core/paint/BoxPainter.cpp |
diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp |
index 4ccd991b64153a65a34747e058f3c7ecd4fe0694..cc5a47aaf3cf9e03cf5939e1c8749d14ef5ba301 100644 |
--- a/Source/core/paint/BoxPainter.cpp |
+++ b/Source/core/paint/BoxPainter.cpp |
@@ -139,7 +139,7 @@ void BoxPainter::paintBoxDecorationBackgroundWithRect(const PaintInfo& paintInfo |
paintBoxShadow(paintInfo, paintRect, style, Inset); |
// The theme will tell us whether or not we should also paint the CSS border. |
- if (boxDecorationData.hasBorder && boxDecorationData.bleedAvoidance != BackgroundBleedBackgroundOverBorder |
+ if (boxDecorationData.hasBorderDecoration && boxDecorationData.bleedAvoidance != BackgroundBleedBackgroundOverBorder |
&& (!boxDecorationData.hasAppearance || (!themePainted && LayoutTheme::theme().painter().paintBorderOnly(&m_layoutBox, paintInfo, snappedPaintRect))) |
&& !(m_layoutBox.isTable() && toLayoutTable(&m_layoutBox)->collapseBorders())) |
paintBorder(m_layoutBox, paintInfo, paintRect, style, boxDecorationData.bleedAvoidance); |