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 7dbc502c3bc2820172524bad7feaa761e3b49b18..bb388b6b341685f525d735cf9e21a7b30940e279 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 |
@@ -220,6 +220,11 @@ NGLayoutStatus NGBlockLayoutAlgorithm::Layout( |
space_builder_ = |
new NGConstraintSpaceBuilder(constraint_space_->WritingMode()); |
+ if (Style().specifiesColumns()) { |
+ space_builder_->SetFragmentationType(FragmentColumn); |
+ adjusted_inline_size = |
+ ResolveUsedColumnInlineSize(adjusted_inline_size, Style()); |
+ } |
space_builder_->SetAvailableSize( |
NGLogicalSize(adjusted_inline_size, adjusted_block_size)); |
space_builder_->SetPercentageResolutionSize( |