Index: Source/WebCore/rendering/RenderTableSection.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderTableSection.cpp (revision 109386) |
+++ Source/WebCore/rendering/RenderTableSection.cpp (working copy) |
@@ -1250,6 +1250,9 @@ |
} |
LayoutUnit offsetInColumnDirection = style()->isHorizontalWritingMode() ? location.y() : location.x(); |
+ |
+ recalcCellsIfNeeded(); |
+ |
// Find the first row that starts after offsetInColumnDirection. |
unsigned nextRow = std::upper_bound(m_rowPos.begin(), m_rowPos.end(), offsetInColumnDirection) - m_rowPos.begin(); |
if (nextRow == m_rowPos.size()) |