mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
2020: define DisplayInside and DisplayOutside enums separately from Stylo
This commit is contained in:
parent
8f89f59329
commit
22f5e07765
4 changed files with 36 additions and 22 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue