2007-04-17 Mitz Pettel <mitz@webkit.org>
[WebKit-https.git] / WebCore / rendering / RenderTableCell.cpp
index 1c5d1e5..3b664e2 100644 (file)
@@ -759,6 +759,9 @@ void RenderTableCell::paintBackgroundsBehindCell(PaintInfo& paintInfo, int tx, i
     if (!backgroundObject)
         return;
 
+    if (style()->visibility() != VISIBLE)
+        return;
+
     RenderTable* tableElt = table();
     if (!tableElt->collapseBorders() && style()->emptyCells() == HIDE && !firstChild())
         return;