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

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

Issue 2542723002: Margins that start at fragmentainer boundaries should be collapsed away. (Closed)
Patch Set: Back out an unnecessary and potentially harmful change. Created 4 years 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/LayoutBlockFlow.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
index 13872c04beff4915d836ee7fc4fdea9c364d41ff..3ae25bcba0eadf1aaaae1163c05802be74b3e99c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
@@ -778,8 +778,14 @@ class CORE_EXPORT LayoutBlockFlow : public LayoutBlock {
return maxPositiveMarginAfter() - maxNegativeMarginAfter();
}
+ LayoutUnit adjustedMarginBeforeForPagination(
+ const LayoutBox&,
+ LayoutUnit logicalTopMarginEdge,
+ LayoutUnit logicalTopBorderEdge,
+ const BlockChildrenLayoutInfo&) const;
+
LayoutUnit collapseMargins(LayoutBox& child,
- MarginInfo&,
+ BlockChildrenLayoutInfo&,
bool childIsSelfCollapsing,
bool childDiscardMarginBefore,
bool childDiscardMarginAfter);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698