From 87dc00d54f4ca9c7738fec60de2da8ed53ef213e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 27 Sep 2017 16:28:10 +0200 Subject: [PATCH] style: Remove :-moz-empty-except-children-with-local-name. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit is not a thing anymore, and that selector in our UA sheet will never match anyway, since an element will never have the BROKEN state. Bug: 1396073 Reviewed-by: xidorn MozReview-Commit-ID: 7UOMKOv55uJ Signed-off-by: Emilio Cobos Álvarez --- components/style/gecko/non_ts_pseudo_class_list.rs | 3 --- components/style/gecko/wrapper.rs | 1 - 2 files changed, 4 deletions(-) diff --git a/components/style/gecko/non_ts_pseudo_class_list.rs b/components/style/gecko/non_ts_pseudo_class_list.rs index 6e1bc857111..6aa26887d12 100644 --- a/components/style/gecko/non_ts_pseudo_class_list.rs +++ b/components/style/gecko/non_ts_pseudo_class_list.rs @@ -119,9 +119,6 @@ macro_rules! apply_non_ts_list { string: [ // FIXME(emilio): Unship this for content docs (bug 1396066). ("-moz-system-metric", MozSystemMetric, mozSystemMetric, _, _), - // FIXME(emilio): Unship this for content docs (bug 1396073). - ("-moz-empty-except-children-with-localname", MozEmptyExceptChildrenWithLocalname, - mozEmptyExceptChildrenWithLocalname, _, _), ("lang", Lang, lang, _, _), ], keyword: [ diff --git a/components/style/gecko/wrapper.rs b/components/style/gecko/wrapper.rs index f7248342e80..f9f4b69e6ee 100644 --- a/components/style/gecko/wrapper.rs +++ b/components/style/gecko/wrapper.rs @@ -1970,7 +1970,6 @@ impl<'le> ::selectors::Element for GeckoElement<'le> { } NonTSPseudoClass::MozSystemMetric(ref s) | NonTSPseudoClass::MozLocaleDir(ref s) | - NonTSPseudoClass::MozEmptyExceptChildrenWithLocalname(ref s) | NonTSPseudoClass::Dir(ref s) => { unsafe { let mut set_slow_selector = false;