aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_2020/flow/mod.rs')
-rw-r--r--components/layout_2020/flow/mod.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/components/layout_2020/flow/mod.rs b/components/layout_2020/flow/mod.rs
index e23c8db33e8..a7e3bc46708 100644
--- a/components/layout_2020/flow/mod.rs
+++ b/components/layout_2020/flow/mod.rs
@@ -388,10 +388,9 @@ impl BlockLevelBox {
Self::Independent(independent) => independent
.outer_inline_content_sizes(layout_context, containing_block_writing_mode),
BlockLevelBox::OutOfFlowAbsolutelyPositionedBox(_) => ContentSizes::zero(),
- BlockLevelBox::OutOfFlowFloatBox(_box_) => {
- // TODO: Actually implement that.
- ContentSizes::zero()
- },
+ BlockLevelBox::OutOfFlowFloatBox(float_box) => float_box
+ .contents
+ .outer_inline_content_sizes(layout_context, containing_block_writing_mode),
}
}
}