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

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

Issue 1602773005: Respect break-inside:avoid on table rows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 7 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/LayoutBlock.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h
index 073fa932968c2c09554ab31cc087a1107256f8d3..a61b43ffe524b366725f8740aab242fa4017b065 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h
@@ -454,19 +454,6 @@ private:
bool widthAvailableToChildrenHasChanged();
public:
- // Specify which page or column to associate with an offset, if said offset is exactly at a page
- // or column boundary.
- enum PageBoundaryRule { AssociateWithFormerPage, AssociateWithLatterPage };
-
- LayoutUnit pageLogicalHeightForOffset(LayoutUnit) const;
- LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule) const;
-
- // Calculate the strut to insert in order fit content of size |contentLogicalHeight|.
- // |strutToNextPage| is the strut to add to |offset| to merely get to the top of the next page
- // or column. This is what will be returned if the content can actually fit there. Otherwise,
- // return the distance to the next fragmentainer that can fit this piece of content.
- LayoutUnit calculatePaginationStrutToFitContent(LayoutUnit offset, LayoutUnit strutToNextPage, LayoutUnit contentLogicalHeight) const;
-
static void collapseAnonymousBlockChild(LayoutBlock* parent, LayoutBlock* child);
protected:
bool isPageLogicalHeightKnown(LayoutUnit logicalOffset) const { return pageLogicalHeightForOffset(logicalOffset); }

Powered by Google App Engine
This is Rietveld 408576698