aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_row.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/table_row.rs')
-rw-r--r--components/layout/table_row.rs12
1 files changed, 7 insertions, 5 deletions
diff --git a/components/layout/table_row.rs b/components/layout/table_row.rs
index ffaf720467b..58fb40bde3a 100644
--- a/components/layout/table_row.rs
+++ b/components/layout/table_row.rs
@@ -403,11 +403,6 @@ impl Flow for TableRowFlow {
let child_row_span;
{
let child_table_cell = kid.as_mut_table_cell();
- child_specified_inline_size = child_table_cell
- .block_flow
- .fragment
- .style
- .content_inline_size();
child_column_span = child_table_cell.column_span;
child_row_span = child_table_cell.row_span;
@@ -422,6 +417,13 @@ impl Flow for TableRowFlow {
&mut self.preliminary_collapsed_borders,
)
}
+
+ child_specified_inline_size = child_table_cell
+ .block_flow
+ .fragment
+ .style
+ .content_inline_size()
+ .clone();
}
// Collect minimum and preferred inline-sizes of the cell for automatic table layout