Fixed a bug where I was failing to filter out pseudo elements during walking.
This commit is contained in:
parent
669a698575
commit
09d015346c
@ -44,7 +44,7 @@ fn get_first_non_pseudo_element<'a>(
|
|||||||
.iter()
|
.iter()
|
||||||
.rev()
|
.rev()
|
||||||
.filter(|b| {
|
.filter(|b| {
|
||||||
std::borrow::Borrow::<dyn IntoContextElement + 'a>::borrow(*b).is_pseudo_element()
|
!std::borrow::Borrow::<dyn IntoContextElement + 'a>::borrow(*b).is_pseudo_element()
|
||||||
})
|
})
|
||||||
.next()
|
.next()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user