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

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

Issue 2412923002: Top-align table cells in rows that cross fragmentainer boundaries. (Closed)
Patch Set: Let's keep the pagination strut substraction thing a bit longer, since removing it affects some DRT… 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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 5aef1c6a3307a80e5519097008d2a21bfc911b0c..42c0477568ea40f5da5ff9eb8cc8cab91ddcc866 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -781,6 +781,7 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
LayoutUnit pageLogicalHeightForOffset(LayoutUnit) const;
LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit,
PageBoundaryRule) const;
+ bool crossesPageBoundary(LayoutUnit offset, LayoutUnit logicalHeight) const;
// Calculate the strut to insert in order fit content of size
// |contentLogicalHeight|. |strutToNextPage| is the strut to add to |offset|

Powered by Google App Engine
This is Rietveld 408576698