Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
index f3a53a8a4c69fab2502ec031ea5f7f8c5eed1572..75f6bc604c3675bb02e27238995c8c4665cbc1e4 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
@@ -697,6 +697,7 @@ RefPtr<NGConstraintSpace> NGBlockLayoutAlgorithm::CreateConstraintSpaceForChild( |
PositionPendingFloats(curr_bfc_offset_.block_offset, |
MutableConstraintSpace(), &builder_); |
curr_margin_strut_ = {}; |
+ space_builder_.SetBfcOffset(curr_bfc_offset_); |
return space_builder_.ToConstraintSpace( |
FromPlatformWritingMode(Style().getWritingMode())); |