mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Ensure taffy uses margin when calling used_size_as_if_inline_element_from_content_box_sizes() (#34421)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
6daae7666e
commit
16da1c2721
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ impl taffy::LayoutPartialTree for TaffyContainerContext<'_> {
|
|||
inline: Size::Initial,
|
||||
block: Size::Initial,
|
||||
},
|
||||
pbm.padding_border_sums,
|
||||
pbm.padding_border_sums + pbm.margin.auto_is(Au::zero).sum(),
|
||||
)
|
||||
.to_physical_size(self.style.writing_mode);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue