mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
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:
parent
bea79aabff
commit
f060cbb38c
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue