mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
fmt
This commit is contained in:
parent
00a7c172e2
commit
0e3b52af27
1 changed files with 3 additions and 2 deletions
|
@ -152,9 +152,10 @@ impl BlockContainer {
|
|||
.iter()
|
||||
.map(|box_| {
|
||||
box_.borrow_mut()
|
||||
.inline_content_sizes(layout_context, writing_mode)
|
||||
.inline_content_sizes(layout_context, writing_mode)
|
||||
})
|
||||
.reduce(ContentSizes::max).unwrap_or_else(ContentSizes::zero),
|
||||
.reduce(ContentSizes::max)
|
||||
.unwrap_or_else(ContentSizes::zero),
|
||||
Self::InlineFormattingContext(context) => {
|
||||
context.inline_content_sizes(layout_context, writing_mode)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue