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 <meter> or <input type=number> back to its
original appearance, but which telemetry showed no usage of.

Differential Revision: https://phabricator.services.mozilla.com/D83598
This commit is contained in:
Cameron McCormack 2020-07-16 22:04:38 +00:00 committed by Emilio Cobos Álvarez
parent da503c4b48
commit a2b016157e

View file

@ -1611,6 +1611,7 @@ pub enum Appearance {
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
MozMenulistArrowButton, MozMenulistArrowButton,
/// For HTML's <input type=number> /// For HTML's <input type=number>
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
NumberInput, NumberInput,
/// The progress bar's progress indicator /// The progress bar's progress indicator
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
@ -1628,6 +1629,7 @@ pub enum Appearance {
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
RadioLabel, RadioLabel,
/// nsRangeFrame and its subparts /// nsRangeFrame and its subparts
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
Range, Range,
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")] #[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
RangeThumb, RangeThumb,