layout: Don't use content_inline_size_for_table in taffy (#34891)

`content_inline_size_for_table` is an override for table layout.
We only use taffy for grid layout, not for table layout.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-01-08 06:51:14 -08:00 committed by GitHub
parent d24b3e2035
commit abdfcacae8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -596,9 +596,7 @@ impl TaffyContainer {
IndependentLayout { IndependentLayout {
fragments, fragments,
content_block_size: Au::from_f32_px(output.size.height) - pbm.padding_border_sums.block, content_block_size: Au::from_f32_px(output.size.height) - pbm.padding_border_sums.block,
content_inline_size_for_table: Some( content_inline_size_for_table: None,
Au::from_f32_px(output.size.width) - pbm.padding_border_sums.inline,
),
baselines: Baselines::default(), baselines: Baselines::default(),
// TODO: determine this accurately // TODO: determine this accurately