Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1768)

Unified Diff: Source/core/rendering/RenderTableCol.cpp

Issue 26360003: Not able to set width using ColGroup in the table. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments addressed Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderTable.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « Source/core/rendering/RenderTable.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698