style: Replace :-moz-native-anonymous-no-specificity with :where(:-moz-native-anonymous).

Differential Revision: https://phabricator.services.mozilla.com/D88255
This commit is contained in:
Masatoshi Kimura 2020-08-26 11:45:35 +00:00 committed by Emilio Cobos Álvarez
parent 9ce200a924
commit 639bada63a
2 changed files with 3 additions and 15 deletions

View file

@ -53,9 +53,6 @@ pub trait NonTSPseudoClass: Sized + ToCss {
/// https://drafts.csswg.org/selectors-4/#useraction-pseudos
fn is_user_action_state(&self) -> bool;
/// Whether this pseudo-class has zero specificity.
fn has_zero_specificity(&self) -> bool;
fn visit<V>(&self, _visitor: &mut V) -> bool
where
V: SelectorVisitor<Impl = Self::Impl>,
@ -2564,11 +2561,6 @@ pub mod tests {
fn is_user_action_state(&self) -> bool {
self.is_active_or_hover()
}
#[inline]
fn has_zero_specificity(&self) -> bool {
false
}
}
impl ToCss for PseudoClass {