diff options
-rw-r--r-- | components/layout_2020/table/layout.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/layout_2020/table/layout.rs b/components/layout_2020/table/layout.rs index 5b622cbb7b9..2d6f500756b 100644 --- a/components/layout_2020/table/layout.rs +++ b/components/layout_2020/table/layout.rs @@ -792,9 +792,8 @@ impl<'a> TableLayout<'a> { block: padding.block_sum() + border.block_sum() + margin.block_sum(), }; - let (size, min_size, max_size, _) = + let (size, min_size, max_size, size_is_auto) = get_outer_sizes_from_style(&context.style, writing_mode, &padding_border_sums); - let size_is_auto = context.style.box_size(writing_mode).inline.is_auto(); // If an inline size is defined it should serve as the upper limit and lower limit // of the caption inline size. |