mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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 <obrufau@igalia.com>
This commit is contained in:
parent
abdfcacae8
commit
79322a3138
1 changed files with 0 additions and 1 deletions
|
@ -143,7 +143,6 @@ impl BlockLevelBox {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: For BlockLevelBox::Independent, this should take floats into account.
|
|
||||||
let available_inline_size =
|
let available_inline_size =
|
||||||
containing_block.size.inline - pbm.padding_border_sums.inline - margin.inline_sum();
|
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| {
|
let available_block_size = containing_block.size.block.non_auto().map(|block_size| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue