style: Ensure QuerySelector only processes the light tree.

MozReview-Commit-ID: 7Nw1SEuWNaC
This commit is contained in:
Emilio Cobos Álvarez 2017-10-22 13:11:18 +02:00
parent dd7196949f
commit 644b502b0d
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 12 additions and 0 deletions

View file

@ -133,6 +133,8 @@ where
Q: SelectorQuery<E>,
Q::Output: 'a,
{
fn light_tree_only(&self) -> bool { true }
fn collect_invalidations(
&mut self,
element: E,