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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_node.cc

Issue 2568743005: Place the out of flow positioned blocks (Closed)
Patch Set: Out of flow positioning: placing the elements 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/ng/ng_block_node.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
index a551077691ebace9990c9494627708f348ed986a..28a88e2a2c2295d16d8b77a38a3ea22420fa7ab2 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
@@ -43,8 +43,6 @@ bool NGBlockNode::Layout(NGConstraintSpace* constraint_space,
NGFragmentBase** out) {
DCHECK(!minmax_algorithm_)
<< "Can't interleave Layout and ComputeMinAndMaxContentSizes";
- if (layout_box_ && layout_box_->isOutOfFlowPositioned())
- layout_box_->containingBlock()->insertPositionedObject(layout_box_);
// We can either use the new layout code to do the layout and then copy the
// resulting size to the LayoutObject, or use the old layout code and
// synthesize a fragment.

Powered by Google App Engine
This is Rietveld 408576698