style: Properly forward ElementWrapper::blocks_ancestor_combinators.

Not doing it is buggy. I think the only outcome of it is that we may
over-invalidate, so it's probably not a huge deal, but worth doing it.
This commit is contained in:
Emilio Cobos Álvarez 2017-10-30 12:38:55 +01:00
parent bea79aabff
commit f060cbb38c
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -351,4 +351,8 @@ impl<'a, E> Element for ElementWrapper<'a, E>
self.element.pseudo_element_originating_element()
.map(|e| ElementWrapper::new(e, self.snapshot_map))
}
fn blocks_ancestor_combinators(&self) -> bool {
self.element.blocks_ancestor_combinators()
}
}