diff options
Diffstat (limited to 'components/layout/flow/mod.rs')
-rw-r--r-- | components/layout/flow/mod.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/layout/flow/mod.rs b/components/layout/flow/mod.rs index 772b150ae1c..e23193f3904 100644 --- a/components/layout/flow/mod.rs +++ b/components/layout/flow/mod.rs @@ -52,7 +52,7 @@ pub mod inline; mod root; pub(crate) use construct::BlockContainerBuilder; -pub use root::{BoxTree, CanvasBackground}; +pub use root::BoxTree; #[derive(Debug, MallocSizeOf)] pub(crate) struct BlockFormattingContext { @@ -2238,7 +2238,9 @@ fn block_size_is_zero_or_intrinsic(size: &StyleSize, containing_block: &Containi lp.is_definitely_zero() || (lp.0.has_percentage() && !containing_block.size.block.is_definite()) }, - StyleSize::AnchorSizeFunction(_) => unreachable!("anchor-size() should be disabled"), + StyleSize::AnchorSizeFunction(_) | StyleSize::AnchorContainingCalcFunction(_) => { + unreachable!("anchor-size() should be disabled") + }, } } |