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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableRow.cpp

Issue 2423403002: Set logical top and height of table rows and cells in the first layout pass. (Closed)
Patch Set: Created 4 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: third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
index 8215fdb98b428b7a0c9a06eb3ac3b8197e22035c..ddda723a9ed5417d09e509904b4ed51c2ebcdf29 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
@@ -195,6 +195,7 @@ void LayoutTableRow::layout() {
for (LayoutTableCell* cell = firstCell(); cell; cell = cell->nextCell()) {
SubtreeLayoutScope layouter(*cell);
+ cell->setLogicalTop(logicalTop());
if (!cell->needsLayout())
markChildForPaginationRelayoutIfNeeded(*cell, layouter);
if (cell->needsLayout())

Powered by Google App Engine
This is Rietveld 408576698