From 8ec805874d90ffc31a2810b74ff84a1a5bc39266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 2 Oct 2017 18:58:41 +0200 Subject: [PATCH] stylo: Restrict :-moz-system-metric to chrome and ua sheets. r=xidorn Bug: 1396066 Reviewed-by: xidorn MozReview-Commit-ID: AyHWP3QgGlA --- components/style/gecko/non_ts_pseudo_class_list.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/gecko/non_ts_pseudo_class_list.rs b/components/style/gecko/non_ts_pseudo_class_list.rs index 6aa26887d12..497c806545c 100644 --- a/components/style/gecko/non_ts_pseudo_class_list.rs +++ b/components/style/gecko/non_ts_pseudo_class_list.rs @@ -117,8 +117,8 @@ macro_rules! apply_non_ts_list { ("-moz-window-inactive", MozWindowInactive, mozWindowInactive, _, _), ], string: [ - // FIXME(emilio): Unship this for content docs (bug 1396066). - ("-moz-system-metric", MozSystemMetric, mozSystemMetric, _, _), + ("-moz-system-metric", MozSystemMetric, mozSystemMetric, _, + PSEUDO_CLASS_ENABLED_IN_UA_SHEETS_AND_CHROME), ("lang", Lang, lang, _, _), ], keyword: [