mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
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:
parent
d24b3e2035
commit
abdfcacae8
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue