diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-10-23 17:59:06 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-10-24 10:44:31 +0200 |
commit | 22f5e077657e79b5f66b8444384ce22514aa4eaf (patch) | |
tree | a7ac899739838f7fec6b143974c9e4315f3d9227 /components/layout_2020/flow/construct.rs | |
parent | 8f89f59329563f0bae6fb7e38bf4ba8bb574087c (diff) | |
download | servo-22f5e077657e79b5f66b8444384ce22514aa4eaf.tar.gz servo-22f5e077657e79b5f66b8444384ce22514aa4eaf.zip |
2020: define DisplayInside and DisplayOutside enums separately from Stylo
Diffstat (limited to 'components/layout_2020/flow/construct.rs')
-rw-r--r-- | components/layout_2020/flow/construct.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/layout_2020/flow/construct.rs b/components/layout_2020/flow/construct.rs index a7056f23ca9..f3afabf15fc 100644 --- a/components/layout_2020/flow/construct.rs +++ b/components/layout_2020/flow/construct.rs @@ -210,7 +210,6 @@ where self.handle_block_level_element(style.clone(), inside, contents, box_slot) } }, - DisplayOutside::None => panic!(":("), }, } } @@ -352,7 +351,6 @@ where inline_box.last_fragment = true; Arc::new(InlineLevelBox::InlineBox(inline_box)) }, - DisplayInside::None | DisplayInside::Contents => panic!(":("), }, }; self.current_inline_level_boxes().push(box_.clone()); |