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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableSection.h

Issue 2433473002: Move table row pagination strut insertion to the first layout pass. (Closed)
Patch Set: Rebaseline semi-manually thank you very much. 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/LayoutTableSection.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.h b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
index dd91b95c16fe5a93bc688cad4ee9909f65c59f5c..a4478815abe948d75580625ce3ecdb516921fe5a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
@@ -421,6 +421,10 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent {
int logicalHeightForRow(const LayoutTableRow&) const;
+ // Honor breaking restrictions inside the table row, and adjust position and
+ // size accordingly.
+ void adjustRowForPagination(LayoutTableRow&, SubtreeLayoutScope&);
+
// The representation of the rows and their cells (CellStruct).
Vector<RowStruct> m_grid;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698