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

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

Issue 2874933005: Distinguish between row (fragmentainer group) height and column (fragmentainer) height. (Closed)
Patch Set: Created 3 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/FragmentainerIterator.cpp
diff --git a/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp b/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp
index 5001ea67a4e2086c29a550b39a99d9af7306c5a4..de39f5567ecb0dc0276cd043588081c2ab00f575 100644
--- a/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp
+++ b/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp
@@ -71,7 +71,7 @@ LayoutSize FragmentainerIterator::PaginationOffset() const {
const MultiColumnFragmentainerGroup& group = CurrentGroup();
LayoutUnit fragmentainer_logical_top_in_flow_thread =
group.LogicalTopInFlowThread() +
- current_fragmentainer_index_ * group.LogicalHeight();
+ current_fragmentainer_index_ * group.ColumnLogicalHeight();
return group.FlowThreadTranslationAtOffset(
fragmentainer_logical_top_in_flow_thread,
LayoutBox::kAssociateWithLatterPage, CoordinateSpaceConversion::kVisual);

Powered by Google App Engine
This is Rietveld 408576698