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

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

Issue 2438613004: Remove first-line-in-cell strut subtraction workaround. (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
« no previous file with comments | « third_party/WebKit/LayoutTests/fragmentation/table-row-dimensions-break-freely-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 38214df7fec59d8509f27a283f2f7eaf467a60ed..61d465a50dff4e3937facc5b3cb433220c581db2 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
@@ -200,16 +200,6 @@ void LayoutTableRow::layout() {
markChildForPaginationRelayoutIfNeeded(*cell, layouter);
if (cell->needsLayout())
cell->layout();
- // We're laying out each cell here to establish its raw logical height so it
- // can be used to figure out the row's height and baseline later on in
- // layoutRows(). As part of that we will layout the cell again if we're in a
- // paginated context and come up with the correct strut. Any strut we come
- // up with here will depend on the old paged layout and will give the cell
- // an invalid height that is not useful for figuring out the raw height of
- // the row.
- if (cell->firstRootBox() && cell->firstRootBox()->paginationStrut())
- cell->setLogicalHeight(cell->logicalHeight() -
- cell->firstRootBox()->paginationStrut());
}
m_overflow.reset();
« no previous file with comments | « third_party/WebKit/LayoutTests/fragmentation/table-row-dimensions-break-freely-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698