Remove a wrong assertion

This commit is contained in:
Anthony Ramine 2019-10-08 13:42:41 +02:00
parent 7371c8689d
commit e90fae52e5

View file

@ -498,11 +498,6 @@ where
}
fn end_ongoing_inline_formatting_context(&mut self) {
assert!(
self.ongoing_inline_boxes_stack.is_empty(),
"there should be no ongoing inline level boxes",
);
if self
.ongoing_inline_formatting_context
.inline_level_boxes