diff --git a/components/layout/block.rs b/components/layout/block.rs index 4f6bf28004b..c7407f1d7b1 100644 --- a/components/layout/block.rs +++ b/components/layout/block.rs @@ -511,14 +511,6 @@ pub struct BlockFlow { /// The associated fragment. pub fragment: Fragment, - /// The sum of the inline-sizes of all logically left floats that precede this block. This is - /// used to speculatively lay out block formatting contexts. - inline_size_of_preceding_left_floats: Au, - - /// The sum of the inline-sizes of all logically right floats that precede this block. This is - /// used to speculatively lay out block formatting contexts. - inline_size_of_preceding_right_floats: Au, - /// Additional floating flow members. pub float: Option>, @@ -548,8 +540,6 @@ impl BlockFlow { None => ForceNonfloatedFlag::ForceNonfloated, }), fragment: fragment, - inline_size_of_preceding_left_floats: Au(0), - inline_size_of_preceding_right_floats: Au(0), float: float_kind.map(|kind| box FloatedBlockInfo::new(kind)), flags: BlockFlowFlags::empty(), }