mirror of
https://github.com/servo/servo.git
synced 2025-07-31 03:00:29 +01:00
layout: Change the IndefiniteContainingBlock
sizes to Option<Au>
(#35653)
Thus avoiding the need to convert to/from `AuOrAuto`. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
31b2f81bc6
commit
ebb19bcd60
6 changed files with 19 additions and 37 deletions
|
@ -142,7 +142,6 @@ pub(crate) fn outer_inline(
|
|||
let available_block_size = containing_block
|
||||
.size
|
||||
.block
|
||||
.non_auto()
|
||||
.map(|v| Au::zero().max(v - pbm_sums.block));
|
||||
let automatic_size = if content_box_sizes.block.preferred.is_initial() &&
|
||||
auto_block_size_stretches_to_containing_block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue