Index: Source/core/paint/TableCellPainter.cpp |
diff --git a/Source/core/paint/TableCellPainter.cpp b/Source/core/paint/TableCellPainter.cpp |
index 375408827c733d88d24621edce1c1dfddb617a10..b642ddae56c94a065d7a6dbc6768a3ba21aa41af 100644 |
--- a/Source/core/paint/TableCellPainter.cpp |
+++ b/Source/core/paint/TableCellPainter.cpp |
@@ -184,7 +184,7 @@ void TableCellPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, |
if (!table->collapseBorders() && m_layoutTableCell.style()->emptyCells() == HIDE && !m_layoutTableCell.firstChild()) |
return; |
- bool needsToPaintBorder = m_layoutTableCell.styleRef().hasBorder() && !table->collapseBorders(); |
+ bool needsToPaintBorder = m_layoutTableCell.styleRef().hasBorderDecoration() && !table->collapseBorders(); |
if (!m_layoutTableCell.hasBackground() && !m_layoutTableCell.styleRef().boxShadow() && !needsToPaintBorder) |
return; |