diff options
Diffstat (limited to 'components/layout')
-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 34945dc5aea..e61ad3104c8 100644 --- a/components/layout/block.rs +++ b/components/layout/block.rs @@ -1395,9 +1395,7 @@ impl BlockFlow { } let info = PlacementInfo { - size: LogicalSize::new(self.fragment.style.writing_mode, - self.base.position.size.inline, - self.fragment.border_box.size.block), + size: self.fragment.border_box.size, ceiling: self.base.position.start.b, max_inline_size: MAX_AU, kind: FloatKind::Left, |