Index: Source/core/rendering/RenderBox.cpp |
=================================================================== |
--- Source/core/rendering/RenderBox.cpp (revision 163485) |
+++ Source/core/rendering/RenderBox.cpp (working copy) |
@@ -1340,7 +1340,7 @@ |
paintBoxShadow(paintInfo, paintRect, style(), Inset); |
// The theme will tell us whether or not we should also paint the CSS border. |
- if (bleedAvoidance != BackgroundBleedBackgroundOverBorder && (!style()->hasAppearance() || (!themePainted && RenderTheme::theme().paintBorderOnly(this, paintInfo, snappedPaintRect))) && style()->hasBorder()) |
+ if (bleedAvoidance != BackgroundBleedBackgroundOverBorder && (!style()->hasAppearance() || (!themePainted && RenderTheme::theme().paintBorderOnly(this, paintInfo, snappedPaintRect))) && style()->hasBorder() && !(isTable() && toRenderTable(this)->collapseBorders())) |
paintBorder(paintInfo, paintRect, style(), bleedAvoidance); |
} |