mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
fmt
This commit is contained in:
parent
00a7c172e2
commit
0e3b52af27
1 changed files with 3 additions and 2 deletions
|
@ -154,7 +154,8 @@ impl BlockContainer {
|
||||||
box_.borrow_mut()
|
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) => {
|
Self::InlineFormattingContext(context) => {
|
||||||
context.inline_content_sizes(layout_context, writing_mode)
|
context.inline_content_sizes(layout_context, writing_mode)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue