mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
layout: Switch IndependentLayout
to use Au
instead of Length
(#31083)
* use au in layout * fmt * review fix
This commit is contained in:
parent
efa38c67fe
commit
1b847c3166
8 changed files with 52 additions and 21 deletions
|
@ -930,7 +930,7 @@ impl FloatBox {
|
|||
inline: inline_size,
|
||||
block: box_size
|
||||
.block
|
||||
.auto_is(|| independent_layout.content_block_size),
|
||||
.auto_is(|| independent_layout.content_block_size.into()),
|
||||
};
|
||||
children = independent_layout.fragments;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue