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

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: skip failing tests Created 3 years, 11 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_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 a1cdca354a440575ff5caf2803d16c8a24ed5f49..6fbb34b58a218580e6dca675d693c9875f0590ba 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