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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h

Issue 2856273002: Legacy block should be positioned with the respect to clearance (Closed)
Patch Set: fix comments Created 3 years, 8 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/ng/ng_block_layout_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
index eba0950b185667ad08068f3d58df8b1110c2fec2..870d2bc347ff3ca0f96bf00958a22903f8d68f66 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
@@ -59,7 +59,9 @@ class CORE_EXPORT NGBlockLayoutAlgorithm
// @return Estimated BFC offset for the "to be layout" child.
NGLogicalOffset PrepareChildLayout(NGLayoutInputNode*);
- void FinishChildLayout(const NGConstraintSpace*, NGLayoutResult*);
+ void FinishChildLayout(const NGConstraintSpace&,
+ const NGLayoutInputNode* child,
+ NGLayoutResult*);
// Positions the fragment that establishes a new formatting context.
//
@@ -95,6 +97,8 @@ class CORE_EXPORT NGBlockLayoutAlgorithm
// <div id="empty-div" style="margins: 1px"></div>
NGLogicalOffset PositionWithParentBfc();
+ NGLogicalOffset PositionLegacy(const NGConstraintSpace& child_space);
+
void FinishFloatChildLayout(const ComputedStyle&,
const NGConstraintSpace&,
const NGLayoutResult*);

Powered by Google App Engine
This is Rietveld 408576698