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

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

Issue 2199553002: Don't repeat header groups when one row of content doesn't fit on the first page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bug 621258 Created 4 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
Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index dc0eb16feb28cd9d168cd7b600fc6ff9aa9c4a82..89b23b078658cced2b4731d5f485539a9a6f9bb3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -4890,7 +4890,7 @@ LayoutUnit LayoutBox::pageRemainingLogicalHeightForOffset(LayoutUnit offset, Pag
LayoutFlowThread* flowThread = flowThreadContainingBlock();
if (!flowThread) {
- LayoutUnit pageLogicalHeight = layoutView->layoutState()->pageLogicalHeight();
rhogan 2016/08/02 17:59:02 Per https://chromium.googlesource.com/chromium/src
+ LayoutUnit pageLogicalHeight = layoutView->pageLogicalHeight();
LayoutUnit remainingHeight = pageLogicalHeight - intMod(offset, pageLogicalHeight);
if (pageBoundaryRule == AssociateWithFormerPage) {
// An offset exactly at a page boundary will act as being part of the former page in

Powered by Google App Engine
This is Rietveld 408576698