aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/invalidation/element/element_wrapper.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2020-12-16 20:24:03 +0000
committerEmilio Cobos Álvarez <emilio@crisal.io>2021-02-26 16:44:05 +0100
commita3f84f85e34805b1f23407fc85b30a58533632a0 (patch)
tree2b4c21316161af9c818e523fe021a01fd7147f4a /components/style/invalidation/element/element_wrapper.rs
parent72a0dbacc79a7e2f861aa6eb8a1976d8fdcc65a6 (diff)
downloadservo-a3f84f85e34805b1f23407fc85b30a58533632a0.tar.gz
servo-a3f84f85e34805b1f23407fc85b30a58533632a0.zip
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
Diffstat (limited to 'components/style/invalidation/element/element_wrapper.rs')
-rw-r--r--components/style/invalidation/element/element_wrapper.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/components/style/invalidation/element/element_wrapper.rs b/components/style/invalidation/element/element_wrapper.rs
index 953c07f46c7..d79e1402228 100644
--- a/components/style/invalidation/element/element_wrapper.rs
+++ b/components/style/invalidation/element/element_wrapper.rs
@@ -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