aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/inline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_2020/flow/inline.rs')
-rw-r--r--components/layout_2020/flow/inline.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/layout_2020/flow/inline.rs b/components/layout_2020/flow/inline.rs
index 83856afa7c7..e247c1d37ee 100644
--- a/components/layout_2020/flow/inline.rs
+++ b/components/layout_2020/flow/inline.rs
@@ -2248,6 +2248,11 @@ impl AbsolutelyPositionedLineItem {
block: Length::zero(),
}
},
+ Display::GeneratingBox(DisplayGeneratingBox::LayoutInternal(_)) => {
+ unreachable!(
+ "The result of blockification should never be a layout-internal value."
+ );
+ },
Display::Contents => {
panic!("display:contents does not generate an abspos box")
},