diff --git a/components/style/bloom.rs b/components/style/bloom.rs index 937c8788728..d3ed204fb1e 100644 --- a/components/style/bloom.rs +++ b/components/style/bloom.rs @@ -181,7 +181,7 @@ impl StyleBloom { // If the filter represents an element too deep in the dom, we need to // pop ancestors. - while current_depth >= element_depth - 1 { + while current_depth > element_depth - 1 { self.pop::().expect("Emilio is bad at math"); current_depth -= 1; }