From 79322a3138d245693708466b68b475d9149caab5 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Wed, 8 Jan 2025 06:51:57 -0800 Subject: [PATCH] layout: Remove wrong FIXME (#34895) There is an early return for independent formatting contexts, so at this point we don't need to handle them. Signed-off-by: Oriol Brufau --- components/layout_2020/flow/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/components/layout_2020/flow/mod.rs b/components/layout_2020/flow/mod.rs index 01d9b1efc6d..35e4462593a 100644 --- a/components/layout_2020/flow/mod.rs +++ b/components/layout_2020/flow/mod.rs @@ -143,7 +143,6 @@ impl BlockLevelBox { return false; } - // FIXME: For BlockLevelBox::Independent, this should take floats into account. let available_inline_size = containing_block.size.inline - pbm.padding_border_sums.inline - margin.inline_sum(); let available_block_size = containing_block.size.block.non_auto().map(|block_size| {