mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Remove layout.css.moz-any-is-is.enabled.
We shipped this, let's remove the MozAny code. Differential Revision: https://phabricator.services.mozilla.com/D99607
This commit is contained in:
parent
72a0dbacc7
commit
a3f84f85e3
3 changed files with 5 additions and 69 deletions
|
@ -178,16 +178,6 @@ where
|
|||
// Some pseudo-classes need special handling to evaluate them against
|
||||
// the snapshot.
|
||||
match *pseudo_class {
|
||||
#[cfg(feature = "gecko")]
|
||||
NonTSPseudoClass::MozAny(ref selectors) => {
|
||||
use selectors::matching::matches_complex_selector;
|
||||
return context.nest(|context| {
|
||||
selectors
|
||||
.iter()
|
||||
.any(|s| matches_complex_selector(s.iter(), self, context, _setter))
|
||||
});
|
||||
},
|
||||
|
||||
// :dir is implemented in terms of state flags, but which state flag
|
||||
// it maps to depends on the argument to :dir. That means we can't
|
||||
// just add its state flags to the NonTSPseudoClass, because if we
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue