Bug 1340683 - stylo: Implement the :-moz-any pseudo-class

This commit is contained in:
Matt Brubeck 2017-03-15 11:32:12 -07:00
parent e34aac03ff
commit 2872c8bfab
10 changed files with 146 additions and 40 deletions

View file

@ -413,7 +413,7 @@ fn matches_simple_selector<E>(
false
}
SimpleSelector::NonTSPseudoClass(ref pc) => {
relation_if!(element.match_non_ts_pseudo_class(pc),
relation_if!(element.match_non_ts_pseudo_class(pc, relations, flags),
AFFECTED_BY_STATE)
}
SimpleSelector::FirstChild => {