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

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

Issue 804383002: Layout captions in simplifiedNormalFlowLayout for tables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 81d33641eeeffb0f9723f0eb3509c4dbc3457edd..7454e4de90cb72261a8c3773199c40ad8e362f1b 100644
--- a/Source/core/rendering/RenderTable.cpp
+++ b/Source/core/rendering/RenderTable.cpp
@@ -387,6 +387,9 @@ void RenderTable::distributeExtraLogicalHeight(int extraLogicalHeight)
void RenderTable::simplifiedNormalFlowLayout()
{
+ for (auto& caption : m_captions)
mstensho (USE GERRIT) 2014/12/16 15:27:01 It may not matter much (since I assume and really
dsinclair 2014/12/16 15:40:32 Filed crbug.com/442737 and added a comment. I'd li
mstensho (USE GERRIT) 2014/12/16 15:43:31 Acknowledged.
Julien - ping for review 2014/12/16 16:05:53 Captions needs to be laid out first so that we can
dsinclair 2014/12/16 17:23:18 So, you think this should be removed? Or should we
mstensho (USE GERRIT) 2014/12/16 20:37:07 Isn't it normally the parent that positions the ch
+ caption->layoutIfNeeded();
+
for (RenderTableSection* section = topSection(); section; section = sectionBelow(section)) {
section->layoutIfNeeded();
section->computeOverflowFromCells();

Powered by Google App Engine
This is Rietveld 408576698