From 480314a26e3cc537a39850595f7f4c08ab5d531f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 1 Sep 2017 20:47:23 +0200 Subject: [PATCH] stylo: Expose -moz-system-metric and -moz-empty-except-children-with-localname. They don't have the flag in Gecko. Though I wonder if we could unship them from non-UA sheets. Bug: 1396048 Reviewed-by: bholley MozReview-Commit-ID: LGzGDjCZpJC --- components/style/gecko/non_ts_pseudo_class_list.rs | 8 ++++++-- 1 file changed, 6 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 17dce94c989..938cbf3cf65 100644 --- a/components/style/gecko/non_ts_pseudo_class_list.rs +++ b/components/style/gecko/non_ts_pseudo_class_list.rs @@ -59,7 +59,9 @@ macro_rules! apply_non_ts_list { ("-moz-drag-over", MozDragOver, mozDragOver, IN_DRAGOVER_STATE, _), ("target", Target, target, IN_TARGET_STATE, _), ("indeterminate", Indeterminate, indeterminate, IN_INDETERMINATE_STATE, _), + // FIXME(emilio): Unship this for content docs (bug 1396073). ("-moz-devtools-highlighted", MozDevtoolsHighlighted, mozDevtoolsHighlighted, IN_DEVTOOLS_HIGHLIGHTED_STATE, _), + // FIXME(emilio): Unship this for content docs (bug 1396073). ("-moz-styleeditor-transitioning", MozStyleeditorTransitioning, mozStyleeditorTransitioning, IN_STYLEEDITOR_TRANSITIONING_STATE, _), ("fullscreen", Fullscreen, fullscreen, IN_FULLSCREEN_STATE, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS_AND_CHROME), ("-moz-full-screen", MozFullScreen, mozFullScreen, IN_FULLSCREEN_STATE, _), @@ -116,9 +118,11 @@ macro_rules! apply_non_ts_list { ("-moz-window-inactive", MozWindowInactive, mozWindowInactive, _, _), ], string: [ - ("-moz-system-metric", MozSystemMetric, mozSystemMetric, _, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS), + // 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, _, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS), + mozEmptyExceptChildrenWithLocalname, _, _), ("lang", Lang, lang, _, _), ], keyword: [