Auto merge of #24393 - servo:layout-2020, r=SimonSapin

Remove a wrong assertion

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24393)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-10-08 10:20:59 -04:00 committed by GitHub
commit 26e5281bfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -498,11 +498,6 @@ where
} }
fn end_ongoing_inline_formatting_context(&mut self) { 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 if self
.ongoing_inline_formatting_context .ongoing_inline_formatting_context
.inline_level_boxes .inline_level_boxes