Index: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc |
index 8e58a021c248e8e7abf81d8d62e75be3262f11e1..f73d67f65f7c79a6b1ca6ab192de446bf14641f9 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc |
@@ -374,6 +374,7 @@ void NGInlineLayoutAlgorithm::LayoutAndPositionFloat( |
float_style, float_space->WritingMode(), current_opportunity_.size, |
origin_offset, from_offset, margins, |
layout_result->PhysicalFragment().Get()); |
+ floating_object->container_block_offset = ContainerBfcOffset().block_offset; |
bool float_does_not_fit = end_position + float_fragment.InlineSize() > |
current_opportunity_.InlineSize(); |