diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/rendering/AutoTableLayout.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/rendering/AutoTableLayout.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/WebCore/rendering/AutoTableLayout.cpp b/src/3rdparty/webkit/WebCore/rendering/AutoTableLayout.cpp index 8f9feec..648e843 100644 --- a/src/3rdparty/webkit/WebCore/rendering/AutoTableLayout.cpp +++ b/src/3rdparty/webkit/WebCore/rendering/AutoTableLayout.cpp @@ -59,7 +59,9 @@ void AutoTableLayout::recalcColumn(int effCol) RenderTableCell* maxContributor = 0; while (child) { - if (child->isTableSection()) { + if (child->isTableCol()) + static_cast<RenderTableCol*>(child)->calcPrefWidths(); + else if (child->isTableSection()) { RenderTableSection* section = static_cast<RenderTableSection*>(child); int numRows = section->numRows(); RenderTableCell* last = 0; |