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

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

Issue 2569263002: Legacy out-of-flow descendant propagation (Closed)
Patch Set: CR fixes 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 b097278f99b5d2056f28decac13881bb4ccb9afe..6daa1e58397663b3c758a5d3106c7ad3bab81db7 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
@@ -325,4 +325,9 @@ NGPhysicalFragment* NGBlockNode::RunOldLayout(
return builder.ToFragment();
}
+void NGBlockNode::UseOldOutOfFlowPositioning() {
+ if (layout_box_)
+ layout_box_->containingBlock()->insertPositionedObject(layout_box_);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698