diff options
-rw-r--r-- | components/layout/block.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/layout/block.rs b/components/layout/block.rs index 36cdc1ab988..980bf6b5204 100644 --- a/components/layout/block.rs +++ b/components/layout/block.rs @@ -1449,9 +1449,7 @@ impl BlockFlow { let info = PlacementInfo { size: LogicalSize::new(self.fragment.style.writing_mode, - self.base.position.size.inline + - self.fragment.margin.inline_start_end() + - self.fragment.border_padding.inline_start_end(), + self.base.position.size.inline, self.fragment.border_box.size.block), ceiling: self.base.position.start.b, max_inline_size: MAX_AU, |