diff options
Diffstat (limited to 'components/layout/table_wrapper.rs')
-rw-r--r-- | components/layout/table_wrapper.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/layout/table_wrapper.rs b/components/layout/table_wrapper.rs index f96e5efcd3c..290876e05b0 100644 --- a/components/layout/table_wrapper.rs +++ b/components/layout/table_wrapper.rs @@ -211,12 +211,14 @@ impl TableWrapperFlow { let solution = FloatNonReplaced.solve_inline_size_constraints(&mut self.block_flow, &input); FloatNonReplaced.set_inline_size_constraint_solutions(&mut self.block_flow, solution); - FloatNonReplaced.set_flow_x_coord_if_necessary(&mut self.block_flow, solution); + FloatNonReplaced.set_inline_position_of_flow_if_necessary(&mut self.block_flow, + solution); } else { let solution = BlockNonReplaced.solve_inline_size_constraints(&mut self.block_flow, &input); BlockNonReplaced.set_inline_size_constraint_solutions(&mut self.block_flow, solution); - BlockNonReplaced.set_flow_x_coord_if_necessary(&mut self.block_flow, solution); + BlockNonReplaced.set_inline_position_of_flow_if_necessary(&mut self.block_flow, + solution); } } } |