aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/construct.rs
diff options
context:
space:
mode:
authorAnthony Ramine <nox@nox.paris>2019-10-08 13:42:41 +0200
committerAnthony Ramine <nox@nox.paris>2019-10-08 13:42:41 +0200
commite90fae52e591ebcd0a62de3d29bba1eba25bef66 (patch)
tree53f1911196acaae7f596b6408a281a78534ff364 /components/layout_2020/flow/construct.rs
parent7371c8689d83edb11aa62dcdf3f7c93bde6e930a (diff)
downloadservo-e90fae52e591ebcd0a62de3d29bba1eba25bef66.tar.gz
servo-e90fae52e591ebcd0a62de3d29bba1eba25bef66.zip
Remove a wrong assertion
Diffstat (limited to 'components/layout_2020/flow/construct.rs')
-rw-r--r--components/layout_2020/flow/construct.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/layout_2020/flow/construct.rs b/components/layout_2020/flow/construct.rs
index 6b2027a8794..e0aab3ccffb 100644
--- a/components/layout_2020/flow/construct.rs
+++ b/components/layout_2020/flow/construct.rs
@@ -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