mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
parent
f2dfe7f08c
commit
16e0fd3e1f
4 changed files with 1 additions and 16 deletions
|
@ -216,7 +216,6 @@ impl NonTSPseudoClass {
|
|||
NonTSPseudoClass::MozIsHTML |
|
||||
// We prevent style sharing for NAC.
|
||||
NonTSPseudoClass::MozNativeAnonymous |
|
||||
NonTSPseudoClass::MozNativeAnonymousNoSpecificity |
|
||||
// :-moz-placeholder is parsed but never matches.
|
||||
NonTSPseudoClass::MozPlaceholder |
|
||||
// :-moz-locale-dir and :-moz-window-inactive depend only on
|
||||
|
@ -249,11 +248,6 @@ impl ::selectors::parser::NonTSPseudoClass for NonTSPseudoClass {
|
|||
)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn has_zero_specificity(&self) -> bool {
|
||||
matches!(*self, NonTSPseudoClass::MozNativeAnonymousNoSpecificity)
|
||||
}
|
||||
|
||||
fn visit<V>(&self, visitor: &mut V) -> bool
|
||||
where
|
||||
V: SelectorVisitor<Impl = Self::Impl>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue