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

Unified Diff: Source/core/rendering/RenderTable.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
Index: Source/core/rendering/RenderTable.cpp
diff --git a/Source/core/rendering/RenderTable.cpp b/Source/core/rendering/RenderTable.cpp
index ff772f2172c0d5573296b09603a75d619698369c..299fafbb657551ee5fed26a52eb4c4ad6be2dc22 100644
--- a/Source/core/rendering/RenderTable.cpp
+++ b/Source/core/rendering/RenderTable.cpp
@@ -851,10 +851,6 @@ RenderTableCol* RenderTable::firstColumn() const
for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
if (child->isRenderTableCol())
return toRenderTableCol(child);
-
- // We allow only table-captions before columns or column-groups.
- if (!child->isTableCaption())
- return 0;
}
return 0;

Powered by Google App Engine
This is Rietveld 408576698