Fixed a bug where I was failing to filter out pseudo elements during walking.

master
Tom Alexander 4 years ago
parent 669a698575
commit 09d015346c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -44,7 +44,7 @@ fn get_first_non_pseudo_element<'a>(
.iter()
.rev()
.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()
}

Loading…
Cancel
Save