diff options
Diffstat (limited to 'components/layout/table_cell.rs')
-rw-r--r-- | components/layout/table_cell.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/layout/table_cell.rs b/components/layout/table_cell.rs index 7dbfa3d678c..8dd0817b6da 100644 --- a/components/layout/table_cell.rs +++ b/components/layout/table_cell.rs @@ -96,7 +96,7 @@ impl Flow for TableCellFlow { /// Recursively (top-down) determines the actual inline-size of child contexts and fragments. /// When called on this context, the context has had its inline-size set by the parent table /// row. - fn assign_inline_sizes(&mut self, ctx: &LayoutContext) { + fn assign_inline_sizes(&mut self, layout_context: &LayoutContext) { let _scope = layout_debug_scope!("table_cell::assign_inline_sizes {:x}", self.block_flow.base.debug_id()); debug!("assign_inline_sizes({}): assigning inline_size for flow", "table_cell"); @@ -107,7 +107,7 @@ impl Flow for TableCellFlow { let inline_size_computer = InternalTable; inline_size_computer.compute_used_inline_size(&mut self.block_flow, - ctx, + layout_context, containing_block_inline_size); let inline_start_content_edge = @@ -117,7 +117,8 @@ impl Flow for TableCellFlow { let content_inline_size = self.block_flow.fragment.border_box.size.inline - padding_and_borders; - self.block_flow.propagate_assigned_inline_size_to_children(inline_start_content_edge, + self.block_flow.propagate_assigned_inline_size_to_children(layout_context, + inline_start_content_edge, content_inline_size, None); } |