From a2b016157e645bffa5654e706c4247bebe681e4e Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Thu, 16 Jul 2020 22:04:38 +0000 Subject: [PATCH] style: Hide range and number-input appearance values from content. Forgot to follow up on these two remaining non-standard values that may have been being used to reset a or back to its original appearance, but which telemetry showed no usage of. Differential Revision: https://phabricator.services.mozilla.com/D83598 --- components/style/values/specified/box.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/style/values/specified/box.rs b/components/style/values/specified/box.rs index 20f5ead3d20..4274905310d 100644 --- a/components/style/values/specified/box.rs +++ b/components/style/values/specified/box.rs @@ -1611,6 +1611,7 @@ pub enum Appearance { #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] MozMenulistArrowButton, /// For HTML's + #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] NumberInput, /// The progress bar's progress indicator #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] @@ -1628,6 +1629,7 @@ pub enum Appearance { #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] RadioLabel, /// nsRangeFrame and its subparts + #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] Range, #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] RangeThumb,