mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
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:
parent
da503c4b48
commit
a2b016157e
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue