Index: Source/core/rendering/RenderTableCol.cpp |
diff --git a/Source/core/rendering/RenderTableCol.cpp b/Source/core/rendering/RenderTableCol.cpp |
index 48a537dc3ef531e7ea09bb17dc0fd5197ee971a8..26c5935f97f1d3bd065cfbc31b1acc90e6fc6c8a 100644 |
--- a/Source/core/rendering/RenderTableCol.cpp |
+++ b/Source/core/rendering/RenderTableCol.cpp |
@@ -153,13 +153,7 @@ RenderTableCol* RenderTableCol::nextColumn() const |
if (!next && parent()->isRenderTableCol()) |
next = parent()->nextSibling(); |
- for (; next && !next->isRenderTableCol(); next = next->nextSibling()) { |
- // We allow captions mixed with columns and column-groups. |
- if (next->isTableCaption()) |
- continue; |
- |
- return 0; |
- } |
+ for (; next && !next->isRenderTableCol(); next = next->nextSibling()) { } |
return toRenderTableCol(next); |
} |