Index: Source/WebCore/rendering/RenderTable.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderTable.cpp (revision 105781) |
+++ Source/WebCore/rendering/RenderTable.cpp (working copy) |
@@ -926,15 +926,19 @@ |
LayoutUnit RenderTable::borderBefore() const |
{ |
- if (collapseBorders()) |
+ if (collapseBorders()) { |
+ recalcSectionsIfNeeded(); |
return outerBorderBefore(); |
+ } |
return RenderBlock::borderBefore(); |
} |
LayoutUnit RenderTable::borderAfter() const |
{ |
- if (collapseBorders()) |
+ if (collapseBorders()) { |
+ recalcSectionsIfNeeded(); |
return outerBorderAfter(); |
+ } |
return RenderBlock::borderAfter(); |
} |