Bug 1396048: Enable -moz-system-metric and -moz-empty-except-children-with-localname in non-UA sheets. r?Manishearth draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Fri, 01 Sep 2017 20:36:25 +0200
changeset 657644 88d886eb0e661daa941434ff5e872e59d4b6ed75
parent 657643 99058669514143979dc0e200a1b6226320582395
child 729481 82c96abf7963f9cd943ac24c6aff5653b303e5f3
push id77581
push userbmo:emilio@crisal.io
push dateFri, 01 Sep 2017 18:40:22 +0000
reviewersManishearth
bugs1396048
milestone57.0a1
Bug 1396048: Enable -moz-system-metric and -moz-empty-except-children-with-localname in non-UA sheets. r?Manishearth They don't have the flag in Gecko. Though I wonder if we could unship them from non-UA sheets. MozReview-Commit-ID: LGzGDjCZpJC
servo/components/style/gecko/non_ts_pseudo_class_list.rs
--- a/servo/components/style/gecko/non_ts_pseudo_class_list.rs
+++ b/servo/components/style/gecko/non_ts_pseudo_class_list.rs
@@ -111,19 +111,19 @@ macro_rules! apply_non_ts_list {
                 ("-moz-is-html", MozIsHTML, mozIsHTML, _, _),
                 ("-moz-placeholder", MozPlaceholder, mozPlaceholder, _, _),
                 ("-moz-lwtheme", MozLWTheme, mozLWTheme, _, _),
                 ("-moz-lwtheme-brighttext", MozLWThemeBrightText, mozLWThemeBrightText, _, _),
                 ("-moz-lwtheme-darktext", MozLWThemeDarkText, mozLWThemeDarkText, _, _),
                 ("-moz-window-inactive", MozWindowInactive, mozWindowInactive, _, _),
             ],
             string: [
-                ("-moz-system-metric", MozSystemMetric, mozSystemMetric, _, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS),
+                ("-moz-system-metric", MozSystemMetric, mozSystemMetric, _, _),
                 ("-moz-empty-except-children-with-localname", MozEmptyExceptChildrenWithLocalname,
-                 mozEmptyExceptChildrenWithLocalname, _, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS),
+                 mozEmptyExceptChildrenWithLocalname, _, _),
                 ("lang", Lang, lang, _, _),
             ],
             keyword: [
                 ("-moz-locale-dir", MozLocaleDir, mozLocaleDir, _, _),
                 ("dir", Dir, dir, _, _),
             ]
         }
     }