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

Unified Diff: Source/core/layout/LayoutTableSection.cpp

Issue 1236793005: Always include floating children into visual overflow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaselines (see the try job results of the previous patch set for expectation changes) Created 5 years, 5 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/layout/LayoutBlockFlow.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableSection.cpp
diff --git a/Source/core/layout/LayoutTableSection.cpp b/Source/core/layout/LayoutTableSection.cpp
index d429db7252bc7090b4ffeff46ca27de4cfc9b792..66ae06d047bac22bc9d5e8b88d1bac58969c18f5 100644
--- a/Source/core/layout/LayoutTableSection.cpp
+++ b/Source/core/layout/LayoutTableSection.cpp
@@ -1065,7 +1065,7 @@ void LayoutTableSection::layoutRows()
if (oldLogicalHeight > rHeight)
rowHeightIncreaseForPagination = std::max<int>(rowHeightIncreaseForPagination, oldLogicalHeight - rHeight);
cell->setLogicalHeight(rHeight);
- cell->computeOverflow(oldLogicalHeight, false);
+ cell->computeOverflow(oldLogicalHeight);
}
if (rowLayoutObject)
@@ -1088,7 +1088,7 @@ void LayoutTableSection::layoutRows()
for (size_t i = 0; i < cells.size(); ++i) {
LayoutUnit oldLogicalHeight = cells[i]->logicalHeight();
cells[i]->setLogicalHeight(oldLogicalHeight + rowHeightIncreaseForPagination);
- cells[i]->computeOverflow(oldLogicalHeight, false);
+ cells[i]->computeOverflow(oldLogicalHeight);
}
}
}
« no previous file with comments | « Source/core/layout/LayoutBlockFlow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698